From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from so254-31.mailgun.net ([198.61.254.31]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kmJ3s-0000kO-Ey for ath10k@lists.infradead.org; Mon, 07 Dec 2020 16:08:30 +0000 MIME-Version: 1.0 Subject: Re: [PATCH] ath10k: fix a check patch warning returnNonBoolInBooleanFunction of sdio.c From: Kalle Valo In-Reply-To: <1606103240-9868-1-git-send-email-wgong@codeaurora.org> References: <1606103240-9868-1-git-send-email-wgong@codeaurora.org> Message-Id: <20201207160811.DE897C43461@smtp.codeaurora.org> Date: Mon, 7 Dec 2020 16:08:11 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Wen Gong Cc: linux-wireless@vger.kernel.org, ath10k@lists.infradead.org Wen Gong 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 > > Tested-on: QCA6174 hw3.2 SDIO WLAN.RMH.4.4.1-00049 > > Signed-off-by: Wen Gong > Signed-off-by: Kalle Valo 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 _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k