[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <163760625578.7371.11933192931311657024.kvalo@codeaurora.org>
Date: Mon, 22 Nov 2021 18:37:40 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Cc: luciano.coelho@...el.com, davem@...emloft.net, kuba@...nel.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org,
chongjiapeng <jiapeng.chong@...ux.alibaba.com>
Subject: Re: [PATCH v2] iwlwifi: Fix missing error code in iwl_pci_probe()
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com> wrote:
> From: chongjiapeng <jiapeng.chong@...ux.alibaba.com>
>
> 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@...ux.alibaba.com>
> Fixes: 1f171f4f1437 ("iwlwifi: Add support for getting rf id with blank otp")
> Signed-off-by: chongjiapeng <jiapeng.chong@...ux.alibaba.com>
> Acked-by: Luca Coelho <luciano.coelho@...el.com>
Patch applied to wireless-drivers.git, thanks.
1b54403c9cc4 iwlwifi: Fix missing error code in iwl_pci_probe()
--
https://patchwork.kernel.org/project/linux-wireless/patch/1635838727-128735-1-git-send-email-jiapeng.chong@linux.alibaba.com/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists