[PATCH] ath10k: fix a check patch warning returnNonBoolInBooleanFunction of sdio.c
Kalle Valo
kvalo at codeaurora.org
Mon Dec 7 11:08:11 EST 2020
Wen Gong <wgong at codeaurora.org> wrote:
> cppcheck possible warnings: (new ones prefixed by >>, may not real problems)
> drivers/net/wireless/ath/ath10k/sdio.c:2234:2:
> warning: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction]
> return param & HI_OPTION_SDIO_CRASH_DUMP_ENHANCEMENT_FW;
>
> Reported-by: kernel test robot <rong.a.chen at intel.com>
>
> Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00049
>
> Signed-off-by: Wen Gong <wgong at codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo at codeaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
7f881a721716 ath10k: fix a check patch warning returnNonBoolInBooleanFunction of sdio.c
--
https://patchwork.kernel.org/project/linux-wireless/patch/1606103240-9868-1-git-send-email-wgong@codeaurora.org/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
More information about the ath10k
mailing list