1
0
Fork 0
alistair23-linux/drivers/net/ethernet/qlogic/qlcnic
Dan Carpenter 372f06cd6b qlcnic: Fix error code in probe
[ Upstream commit 0d52848632 ]

Return -EINVAL if we can't find the correct device.  Currently it
returns success.

Fixes: 13159183ec ("qlcnic: 83xx base driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/X9nHbMqEyI/xPfGd@mwanda
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:51:28 +01:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qlcnic.h qlogic: qlcnic: fix use of SPEED_UNKNOWN ethtool constant 2019-04-08 16:30:43 -07:00
qlcnic_83xx_hw.c qlcnic: fix missing release in qlcnic_83xx_interrupt_test. 2020-06-03 08:21:36 +02:00
qlcnic_83xx_hw.h qlcnic: fix Tx descriptor corruption on 82xx devices 2018-09-29 11:46:07 -07:00
qlcnic_83xx_init.c qlcnic: fix error return code in qlcnic_83xx_restart_hw() 2020-11-24 13:28:59 +01:00
qlcnic_83xx_vnic.c
qlcnic_ctx.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
qlcnic_dcb.c qlcnic: fix a return in qlcnic_dcb_get_capability() 2018-10-22 19:34:16 -07:00
qlcnic_dcb.h
qlcnic_ethtool.c qlcnic: Avoid potential NULL pointer dereference 2019-03-15 11:55:53 -07:00
qlcnic_hdr.h
qlcnic_hw.c ethernet/qlogic: remove unused array msi_tgt_status 2018-08-09 14:16:51 -07:00
qlcnic_hw.h qlcnic: fix Tx descriptor corruption on 82xx devices 2018-09-29 11:46:07 -07:00
qlcnic_init.c qlcnic: remove redundant zero check on retries counter 2017-09-01 10:33:55 -07:00
qlcnic_io.c net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
qlcnic_main.c qlcnic: Fix error code in probe 2020-12-30 11:51:28 +01:00
qlcnic_minidump.c qlcnic: Fix CPU soft lockup while collecting firmware dump 2020-02-05 21:22:51 +00:00
qlcnic_sriov.h
qlcnic_sriov_common.c qlcnic: Remove set but not used variables 'fw_mbx' and 'hdr_size' 2018-09-12 20:33:11 -07:00
qlcnic_sriov_pf.c qlcnic: remove redundant assignment to variable err 2019-07-03 11:33:55 -07:00
qlcnic_sysfs.c qlogic: check kstrtoul() for errors 2018-07-13 18:28:58 -07:00