Re: [PATCH] lan78xx: Fix ladv/radv error handling in lan78xx_link_reset()

2015-09-06 Thread David Miller
From: Geert Uytterhoeven Date: Fri, 4 Sep 2015 12:47:28 +0200 > net/usb/lan78xx.c: In function ‘lan78xx_link_reset’: > net/usb/lan78xx.c:1107: warning: comparison is always false due to limited > range of data type > net/usb/lan78xx.c:: warning: comparison is always false due to limited >

[PATCH] lan78xx: Fix ladv/radv error handling in lan78xx_link_reset()

2015-09-04 Thread Geert Uytterhoeven
net/usb/lan78xx.c: In function ‘lan78xx_link_reset’: net/usb/lan78xx.c:1107: warning: comparison is always false due to limited range of data type net/usb/lan78xx.c:: warning: comparison is always false due to limited range of data type Assigning return values that can be negative error code