linux-kernel-test/drivers/net/ethernet/broadcom/bnx2x
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
..
bnx2x_cmn.c bnx2x: add gro_check 2012-02-20 19:34:08 -05:00
bnx2x_cmn.h bnx2x: add gro_check 2012-02-20 19:34:08 -05:00
bnx2x_dcb.c net: dcb: getnumtcs()/setnumtcs() should return an int 2012-03-02 18:16:49 -08:00
bnx2x_dcb.h bnx2x: Update version to 1.72.0 and copyrights 2012-01-26 13:39:52 -05:00
bnx2x_dump.h bnx2x: Update version to 1.72.0 and copyrights 2012-01-26 13:39:52 -05:00
bnx2x_ethtool.c use FW 7.2.16 2012-02-20 19:34:07 -05:00
bnx2x_fw_defs.h bnx2x: Update version to 1.72.0 and copyrights 2012-01-26 13:39:52 -05:00
bnx2x_fw_file_hdr.h bnx2x: Update version to 1.72.0 and copyrights 2012-01-26 13:39:52 -05:00
bnx2x_hsi.h use FW 7.2.16 2012-02-20 19:34:07 -05:00
bnx2x_init_ops.h bnx2x: Update version to 1.72.0 and copyrights 2012-01-26 13:39:52 -05:00
bnx2x_init.h bnx2x: Update version to 1.72.0 and copyrights 2012-01-26 13:39:52 -05:00
bnx2x_link.c bnx2x: allow all functions to display the phy FW version 2012-02-15 15:30:50 -05:00
bnx2x_link.h bnx2x: allow all functions to display the phy FW version 2012-02-15 15:30:50 -05:00
bnx2x_main.c bnx2x: add gro_check 2012-02-20 19:34:08 -05:00
bnx2x_reg.h bnx2x: ethtool publishes link partners speed and FC 2012-02-15 15:30:48 -05:00
bnx2x_sp.c use FW 7.2.16 2012-02-20 19:34:07 -05:00
bnx2x_sp.h use FW 7.2.16 2012-02-20 19:34:07 -05:00
bnx2x_stats.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2012-02-19 16:03:15 -05:00
bnx2x_stats.h bnx2x: consistent statistics after internal driver reload 2012-02-15 15:30:48 -05:00
bnx2x.h bnx2x: update driver version to 1.72.10-0 2012-02-20 19:34:08 -05:00
Makefile