[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200831151652.4D014C43395@smtp.codeaurora.org>
Date: Mon, 31 Aug 2020 15:16:52 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin King <colin.king@...onical.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Carl Huang <cjhuang@...eaurora.org>,
ath11k@...ts.infradead.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] ath11k: fix missing error check on call to
ath11k_pci_get_user_msi_assignment
Colin King <colin.king@...onical.com> wrote:
> The return error check on the call to ath11k_pci_get_user_msi_assignment is
> missing. If an error does occur, num_vectors is still set to zero and
> later on a division by zero can occur when variable vector is being
> calculated. Fix this by adding an error check after the call.
>
> Addresses-Coverity: ("Division or modulo by zero")
> Fixes: d4ecb90b3857 ("ath11k: enable DP interrupt setup for QCA6390")
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
> Signed-off-by: Kalle Valo <kvalo@...eaurora.org>
Patch applied to ath-next branch of ath.git, thanks.
b2c094582e38 ath11k: fix missing error check on call to ath11k_pci_get_user_msi_assignment
--
https://patchwork.kernel.org/patch/11723523/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists