[U-Boot] [PATCH 11/14] fdt: eth_fixup: improve error catching/reduce identation

Joe Hershberger joe.hershberger at gmail.com
Wed Nov 30 21:25:51 CET 2016


On Fri, Nov 25, 2016 at 9:30 AM, Olliver Schinagl <oliver at schinagl.nl> wrote:
> Currently when checking for an error in ethernet aliases in the fdt, we
> only check for the error case -1. It is safer to ignore anything < 0.
>
> By rearranging logic a bit we can now also reduce identation.
>
> Signed-off-by: Olliver Schinagl <oliver at schinagl.nl>

Acked-by: Joe Hershberger <joe.hershberger at ni.com>


More information about the U-Boot mailing list