linux/drivers/net/ethernet/chelsio/cxgb4
Dan Carpenter 2861831476 cxgb4: Signedness bug in init_one()
The "chip" variable is an enum, and it's treated as unsigned int by GCC
in this context so the error handling isn't triggered.

Fixes: e8d452923a ("cxgb4: clean up init_one")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-27 10:00:16 +02:00
..
Makefile cxgb4: Re-work the logic for mps refcounting 2019-06-24 14:54:06 -07:00
clip_tbl.c cxgb4: clip_tbl: Use struct_size() in kvzalloc() 2019-01-29 10:55:02 -08:00
clip_tbl.h
cudbg_common.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_entity.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_if.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_lib.c cxgb4: reduce kernel stack usage in cudbg_collect_mem_region() 2019-07-12 15:36:14 -07:00
cudbg_lib.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_lib_common.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_zlib.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cudbg_zlib.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4.h cxgb4: Add MPS refcounting for alloc/free mac filters 2019-06-24 14:54:06 -07:00
cxgb4_cudbg.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_cudbg.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_dcb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_dcb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_debugfs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2019-08-19 11:54:03 -07:00
cxgb4_debugfs.h cxgb4: remove DEFINE_SIMPLE_DEBUGFS_FILE() 2018-12-15 11:21:22 -08:00
cxgb4_ethtool.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_fcoe.c cxgb4/chtls: Prefix adapter flags with CXGB4 2019-03-04 10:21:32 -08:00
cxgb4_fcoe.h
cxgb4_filter.c cxgb4: Re-work the logic for mps refcounting 2019-06-24 14:54:06 -07:00
cxgb4_filter.h cxgb4: Enable hash filter with offload 2019-05-22 17:35:14 -07:00
cxgb4_main.c cxgb4: Signedness bug in init_one() 2019-09-27 10:00:16 +02:00
cxgb4_mps.c cxgb4: Add MPS refcounting for alloc/free mac filters 2019-06-24 14:54:06 -07:00
cxgb4_ptp.c net: cxgb4: fix various indentation issues 2019-01-10 09:30:49 -05:00
cxgb4_ptp.h
cxgb4_tc_flower.c allocate_flower_entry: should check for null deref 2019-07-21 11:47:30 -07:00
cxgb4_tc_flower.h net: flow_offload: rename tc_cls_flower_offload to flow_cls_offload 2019-07-09 14:38:51 -07:00
cxgb4_tc_u32.c cxgb4: cxgb4_tc_u32: use struct_size() in kvzalloc() 2019-01-29 10:55:25 -08:00
cxgb4_tc_u32.h
cxgb4_tc_u32_parse.h
cxgb4_thermal.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 291 2019-06-05 17:36:38 +02:00
cxgb4_uld.c cxgb4: Set initial IRQ affinity hints 2019-06-09 13:30:39 -07:00
cxgb4_uld.h cxgb4/libcxgb/cxgb4i/cxgbit: enable eDRAM page pods for iSCSI 2019-06-10 09:20:23 -07:00
l2t.c cxgb4/l2t: Use struct_size() in kvzalloc() 2019-01-16 21:11:09 -08:00
l2t.h
sched.c ethernet: remove redundant memset 2019-07-15 11:06:27 -07:00
sched.h cxgb4: remove the unneeded locks 2018-10-03 09:34:52 -07:00
sge.c chelsio: use BUG() instead of BUG_ON(1) 2019-03-26 11:42:11 -07:00
smt.c cxgb4: smt: Use normal int for refcount 2019-08-08 18:12:17 -07:00
smt.h cxgb4: smt: Use normal int for refcount 2019-08-08 18:12:17 -07:00
srq.c cxgb4/chtls: Prefix adapter flags with CXGB4 2019-03-04 10:21:32 -08:00
srq.h cxgb4: Add support to initialise/read SRQ entries 2018-03-22 11:59:11 -04:00
t4_chip_type.h cxgb4: clean up init_one 2018-05-25 14:59:38 -04:00
t4_hw.c cxgb4: Fix spelling typos 2019-09-12 12:50:56 +01:00
t4_hw.h cxgb4/cxgb4vf: Add support for SGE doorbell queue timer 2019-02-14 12:39:35 -05:00
t4_msg.h cxgb4: add tcb flags and tcb rpl struct 2019-02-08 17:02:05 -07:00
t4_pci_id_tbl.h cxgb4: Add new T6 PCI device ids 0x608b 2019-02-06 13:41:48 -08:00
t4_regs.h cxgb4: Enable hash filter with offload 2019-05-22 17:35:14 -07:00
t4_tcb.h cxgb4: add tcb flags and tcb rpl struct 2019-02-08 17:02:05 -07:00
t4_values.h cxgb4/cxgb4vf: Add support for SGE doorbell queue timer 2019-02-14 12:39:35 -05:00
t4fw_api.h cxgb4/libcxgb/cxgb4i/cxgbit: enable eDRAM page pods for iSCSI 2019-06-10 09:20:23 -07:00
t4fw_version.h cxgb4: Update 1.23.3.0 as the latest firmware supported. 2019-03-29 13:47:31 -07:00