[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180116143424.26848602BA@smtp.codeaurora.org>
Date: Tue, 16 Jan 2018 14:34:24 +0000 (UTC)
From: Kalle Valo <kvalo@...eaurora.org>
To: Colin Ian King <colin.king@...onical.com>
Cc: Kalle Valo <kvalo@....qualcomm.com>, ath10k@...ts.infradead.org,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: ath10k: remove redundant -ve check against u32 integer size
Colin Ian King <colin.king@...onical.com> wrote:
> Variable section_table.size is a u32 and so cannot be less than
> zero, hence the less than zero check is redundant and can be
> removed.
>
> Detected by CoverityScan, CID#1463855 ("Unsigned compared against 0")
>
> 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.
95f27a51ee02 ath10k: remove redundant -ve check against u32 integer size
--
https://patchwork.kernel.org/patch/10161483/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists