On Monday 15 April 2013 00:58:38 David Gibson wrote: > On Wed, Apr 10, 2013 at 02:29:07PM -0400, Mike Frysinger wrote: > > For a follow up commit, we want to be able to scan the buffer that was > > returned to us. In order to do that safely, we need to know how big > > the buffer actually is, so pass that back if requested. > > Rather than changing all the callers, I'd prefer to see a new function > implemented. The existing utilfdt_read(), which assumes the caller > can get the size from the fdt header, can be reimplemented in terms of > the version returning the length.
ok, i've added stub funcs that take a _len param and rebase the existing ones on top of that -mike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss