[U-Boot] net: macb: fix the following building warning

Andreas Bießmann andreas.devel at googlemail.com
Thu Aug 22 17:21:01 CEST 2013


Dear Bo Shen,

Bo Shen <voice.shen at atmel.com> writes:
>fix the following building warning
>---8>---
>macb.c: In function 'macb_init':
>macb.c:400:14: warning: 'phydev' may be used uninitialized in this function
>macb.c:377:21: note: 'phydev' was declared here
>---<8---
>
>Signed-off-by: Bo Shen <voice.shen at atmel.com>
>
>---
>drivers/net/macb.c |   12 +++++++++---
> 1 file changed, 9 insertions(+), 3 deletions(-)

applied to u-boot-atmel/master, thanks!

Best regards,
Andreas Bießmann


More information about the U-Boot mailing list