1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/wireless/intel/iwlwifi/pcie
chongjiapeng 1b54403c9c iwlwifi: Fix missing error code in iwl_pci_probe()
The error code is missing in this code scenario, add the error code
'-EINVAL' to the return value 'ret'.

Eliminate the follow smatch warning:

drivers/net/wireless/intel/iwlwifi/pcie/drv.c:1376 iwl_pci_probe() warn:
missing error code 'ret'.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Fixes: 1f171f4f14 ("iwlwifi: Add support for getting rf id with blank otp")
Signed-off-by: chongjiapeng <jiapeng.chong@linux.alibaba.com>
Acked-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1635838727-128735-1-git-send-email-jiapeng.chong@linux.alibaba.com
2021-11-22 20:37:25 +02:00
..
ctxt-info-gen3.c iwlwifi: yoyo: fw debug config from context info and preset 2021-10-22 10:49:01 +03:00
ctxt-info.c iwlwifi: pcie: properly set LTR workarounds on 22000 devices 2021-04-06 13:25:53 +03:00
drv.c iwlwifi: Fix missing error code in iwl_pci_probe() 2021-11-22 20:37:25 +02:00
internal.h iwlwifi: pcie: remove spaces from queue names 2021-08-26 23:33:22 +03:00
rx.c iwlwifi: pcie: update sw error interrupt for BZ family 2021-10-28 12:04:09 +03:00
trans-gen2.c iwlwifi: remove redundant iwl_finish_nic_init() argument 2021-10-22 10:49:02 +03:00
trans.c iwlwifi: pcie: update sw error interrupt for BZ family 2021-10-28 12:04:09 +03:00
tx-gen2.c iwlwifi: Fix softirq/hardirq disabling in iwl_pcie_gen2_enqueue_hcmd() 2021-04-19 20:35:10 +03:00
tx.c iwlwifi: pcie: don't enable BHs with IRQs disabled 2021-04-18 09:37:38 +03:00