OpenCloudOS-Kernel/drivers/net/ethernet/netronome/nfp
YueHaibing 95530a59db nfp: Fix passing zero to 'PTR_ERR'
nfp_cpp_from_nfp6000_pcie() returns ERR_PTR() and never returns
NULL. The NULL test should be removed, also return correct err.

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Link: https://lore.kernel.org/r/20201112145852.6580-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-11-12 10:11:12 -08:00
..
abm nfp: abm: fix error return code in nfp_abm_vnic_alloc() 2020-05-08 18:39:36 -07:00
bpf bpf: Mutex protect used_maps array and count 2020-09-15 18:28:27 -07:00
crypto treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
flower Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-09-04 21:28:59 -07:00
nfpcore treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
nic treewide: remove dummy Makefiles for single targets 2019-08-21 21:05:21 +09:00
Makefile nfp: add devlink param infrastructure 2019-09-10 17:29:27 +01:00
ccm.c nfp: add support for sending control messages via mailbox 2019-06-06 14:13:39 -07:00
ccm.h nfp: tls: implement the stream sync RX resync 2019-12-19 17:46:51 -08:00
ccm_mbox.c nfp: ccm: increase message limits 2019-07-08 20:21:09 -07:00
devlink_param.c nfp: devlink: set unknown fw_load_policy 2019-09-11 15:10:05 +01:00
nfp_abi.h
nfp_app.c nfp: add offloads on representors 2018-11-30 13:30:44 -08:00
nfp_app.h nfp: allow fallback packets from non-reprs 2019-04-15 15:45:36 -07:00
nfp_app_nic.c
nfp_asm.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
nfp_asm.h
nfp_devlink.c devlink: convert flash_update to use params structure 2020-09-25 17:20:57 -07:00
nfp_hwmon.c
nfp_main.c nfp: Fix passing zero to 'PTR_ERR' 2020-11-12 10:11:12 -08:00
nfp_main.h netronome: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
nfp_net.h nfp: convert to new udp_tunnel_nic infra 2020-07-14 17:04:27 -07:00
nfp_net_common.c nfp: convert tasklets to use new tasklet_setup() API 2020-09-14 13:02:38 -07:00
nfp_net_ctrl.c nfp: tls: implement the stream sync RX resync 2019-12-19 17:46:51 -08:00
nfp_net_ctrl.h nfp: tls: implement the stream sync RX resync 2019-12-19 17:46:51 -08:00
nfp_net_debugdump.c netronome: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
nfp_net_debugfs.c nfp: no need to check return value of debugfs_create functions 2019-08-10 15:25:48 -07:00
nfp_net_ethtool.c nfp: use correct define to return NONE fec 2020-09-17 17:59:12 -07:00
nfp_net_main.c nfp: add devlink param infrastructure 2019-09-10 17:29:27 +01:00
nfp_net_repr.c net: partially revert dynamic lockdep key changes 2020-05-04 12:05:56 -07:00
nfp_net_repr.h netronome: Replace zero-length array with flexible-array member 2020-02-24 15:26:17 -08:00
nfp_net_sriov.c nfp: add SR-IOV trusted VF support 2019-04-19 21:00:31 -07:00
nfp_net_sriov.h nfp: add SR-IOV trusted VF support 2019-04-19 21:00:31 -07:00
nfp_netvf_main.c remove ioremap_nocache and devm_ioremap_nocache 2020-01-06 09:45:59 +01:00
nfp_port.c nfp: reintroduce ndo_get_port_parent_id for representor ports 2019-05-08 16:32:36 -07:00
nfp_port.h nfp: move devlink port type set after netdev registration 2019-03-24 14:55:31 -04:00
nfp_shared_buf.c net: devlink: report cell size of shared buffers 2019-02-03 11:25:34 -08:00