linux_dsm_epyc7002/drivers/net/ethernet/chelsio/cxgb4
Jason Gunthorpe c799fca8ba net/cxgb4: Check the return from t4_query_params properly
Positive return values are also failures that don't set val,
although this probably can't happen. Fixes gcc 10 warning:

drivers/net/ethernet/chelsio/cxgb4/t4_hw.c: In function ‘t4_phy_fw_ver’:
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c:3747:14: warning: ‘val’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 3747 |  *phy_fw_ver = val;

Fixes: 01b6961410 ("cxgb4: Add PHY firmware support for T420-BT cards")
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-04-14 16:44:54 -07:00
..
clip_tbl.c
clip_tbl.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
cudbg_common.c
cudbg_entity.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
cudbg_if.h
cudbg_lib_common.h
cudbg_lib.c cxgb4: Use match_string() helper to simplify the code 2019-11-08 11:33:16 -08:00
cudbg_lib.h
cudbg_zlib.c
cudbg_zlib.h
cxgb4_cudbg.c
cxgb4_cudbg.h
cxgb4_dcb.c
cxgb4_dcb.h
cxgb4_debugfs.c cxgb4/chcr: Add ipv6 support and statistics 2020-03-08 21:16:23 -07:00
cxgb4_debugfs.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
cxgb4_ethtool.c cxgb4/chcr: nic-tls stats in ethtool 2020-03-31 10:11:07 -07:00
cxgb4_fcoe.c
cxgb4_fcoe.h
cxgb4_filter.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-25 18:58:11 -07:00
cxgb4_filter.h cxgb4: rework TC filter rule insertion across regions 2020-03-18 16:39:03 -07:00
cxgb4_main.c cxgb4: free MQPRIO resources in shutdown path 2020-04-01 11:16:43 -07:00
cxgb4_mps.c
cxgb4_ptp.c cxgb4/ptp: pass the sign of offset delta in FW CMD 2020-03-24 16:23:55 -07:00
cxgb4_ptp.h
cxgb4_tc_flower.c net: sched: expose HW stats types per action used by drivers 2020-03-30 11:06:49 -07:00
cxgb4_tc_flower.h flow_offload: check for basic action hw stats type 2020-03-08 21:07:48 -07:00
cxgb4_tc_matchall.c net: sched: expose HW stats types per action used by drivers 2020-03-30 11:06:49 -07:00
cxgb4_tc_matchall.h cxgb4: add TC-MATCHALL classifier ingress offload 2019-11-20 12:05:23 -08:00
cxgb4_tc_mqprio.c cxgb4: free MQPRIO resources in shutdown path 2020-04-01 11:16:43 -07:00
cxgb4_tc_mqprio.h cxgb4: free MQPRIO resources in shutdown path 2020-04-01 11:16:43 -07:00
cxgb4_tc_u32_parse.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
cxgb4_tc_u32.c cxgb4: rework TC filter rule insertion across regions 2020-03-18 16:39:03 -07:00
cxgb4_tc_u32.h
cxgb4_thermal.c
cxgb4_uld.c cxgb4/chcr : Register to tls add and del callback 2020-03-08 21:16:23 -07:00
cxgb4_uld.h cxgb4: rework TC filter rule insertion across regions 2020-03-18 16:39:03 -07:00
cxgb4.h cxgb4/chcr : Register to tls add and del callback 2020-03-08 21:16:23 -07:00
l2t.c cxgb4/chcr: Save tx keys and handle HW response 2020-03-08 21:16:23 -07:00
l2t.h cxgb4/chcr: Save tx keys and handle HW response 2020-03-08 21:16:23 -07:00
Makefile cxgb4: add TC-MATCHALL classifier egress offload 2019-11-20 12:05:23 -08:00
sched.c cxgb4: fix Tx multi channel port rate limit 2020-01-19 16:12:02 +01:00
sched.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
sge.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-03-25 18:58:11 -07:00
smt.c
smt.h chelsio: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
srq.c
srq.h
t4_chip_type.h
t4_hw.c net/cxgb4: Check the return from t4_query_params properly 2020-04-14 16:44:54 -07:00
t4_hw.h
t4_msg.h cxgb4/chcr: complete record tx handling 2020-03-08 21:16:23 -07:00
t4_pci_id_tbl.h
t4_regs.h cxgb4: Add support to catch bits set in INT_CAUSE5 2020-03-25 12:22:33 -07:00
t4_tcb.h cxgb4/chcr: complete record tx handling 2020-03-08 21:16:23 -07:00
t4_values.h
t4fw_api.h cxgb4/chcr : Register to tls add and del callback 2020-03-08 21:16:23 -07:00
t4fw_version.h