diff options
| author | chongjiapeng <[email protected]> | 2021-11-02 07:38:47 +0000 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2021-11-22 18:37:25 +0000 |
| commit | 1b54403c9cc444b6e0ade1f441efdf1270877ace (patch) | |
| tree | 0cb06b98020ec92d2606439ef60dd2d96a0f5e1e /drivers/net/wireless/intel/iwlwifi/mvm/ops.c | |
| parent | iwlwifi: pcie: fix constant-conversion warning (diff) | |
| download | kernel-1b54403c9cc444b6e0ade1f441efdf1270877ace.tar.gz kernel-1b54403c9cc444b6e0ade1f441efdf1270877ace.zip | |
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 <[email protected]>
Fixes: 1f171f4f1437 ("iwlwifi: Add support for getting rf id with blank otp")
Signed-off-by: chongjiapeng <[email protected]>
Acked-by: Luca Coelho <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/1635838727-128735-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/ops.c')
0 files changed, 0 insertions, 0 deletions
