[U-Boot] [PATCHv6 17/28] fdt: fixup_eth: improve error catching/reduce identation

Joe Hershberger joe.hershberger at ni.com
Tue May 30 21:15:54 UTC 2017


On Mon, May 15, 2017 at 3:02 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