-
Gabe Black authored
This saves having to check the return value or zero the returned buffer. We can also eliminate some old, more limitted wrapper functions in the device tree code, and add checks to some places where malloc results were being used blindly. Some small style fixes were thrown in which were discovered while working through the code. BUG=None TEST=With this and other changes, built and booted on nyan. Built for all platforms. BRANCH=None Change-Id: Ie4e046bb3b732aca8db3db284ff7037bd8f07d5c Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://chromium-review.googlesource.com/177844 Reviewed-by: Gabe Black <gabeblack@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org>
18290389