Re: [PATCH] wlwifi: Fix missing error code in iwl_pci_probe()

From: Kalle Valo
Date: Fri Oct 29 2021 - 09:05:13 EST


Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> writes:

> From: chongjiapeng <jiapeng.chong@xxxxxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxxxxx>
> Fixes: 1f171f4f1437 ("iwlwifi: Add support for getting rf id with blank otp")
> Signed-off-by: chongjiapeng <jiapeng.chong@xxxxxxxxxxxxxxxxx>

The subject prefix should be "iwlwifi: ".

--
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches