[U-Boot] [PATCH v7 09/27] net: Remove the bd* parameter from net stack functions

Simon Glass sjg at chromium.org
Mon Mar 23 17:04:26 CET 2015


Hi Joe,

On 22 March 2015 at 16:09, Joe Hershberger <joe.hershberger at ni.com> wrote:
> This value is not used by the network stack and is available in the
> global data, so stop passing it around.  For the one legacy function
> that still expects it (init op on old Ethernet drivers) pass in the
> global pointer version directly to avoid changing that interface.
>
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> Reported-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Simon Glass <sjg at chromium.org>
>
> ---
>
> Changes in v7:
> -Fixed compile error in 4xx_enet.c

This fixes the compile error but introduced a warning. However the fix
was trivial (just removing a variable declaration). So I applied that
fix to your patch.

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list