2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 07:04:00 +08:00
linux-next/drivers/net/ethernet/intel
John Fastabend 2b88f2de30 net: dcb: getnumtcs()/setnumtcs() should return an int
{g|s}etnumtcs() today returns a u8 that is only used by the DCB code
to verify no error occurred. Today the driver implementations return
negative error codes which end up being non-zero so the logic works
out but triggers some sparse warnings.

To fix the sparse warnings convert the return value to an int.

CC: Eilon Greenstein <eilong@broadcom.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-03-02 18:16:49 -08:00
..
e1000 v2 e1000: Neaten e1000_dump function 2012-02-24 02:03:43 -08:00
e1000e e1000e: use msleep instead of mdelay 2012-02-29 23:14:19 -08:00
igb Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-10 23:32:28 -05:00
igbvf igbvf: reset netdevice addr_assign_type if changed 2012-02-17 15:58:06 -05:00
ixgb drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
ixgbe net: dcb: getnumtcs()/setnumtcs() should return an int 2012-03-02 18:16:49 -08:00
ixgbevf ixgbevf: print MAC via printk format specifier 2012-02-24 15:40:59 -05:00
e100.c e100: Show short v/s long rx length errors in ethtool stats. 2012-03-02 18:09:27 -08:00
Kconfig i825xx:xscale:8390:freescale: Fix Kconfig dependancies 2011-11-04 17:41:20 -04:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00