From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kalle Valo Date: Wed, 11 May 2016 19:02:11 +0000 Subject: Re: airo: prevent potential underflow in airo_set_freq() Message-Id: <20160511190211.9054D6133D@smtp.codeaurora.org> List-Id: In-Reply-To: <20160510192037.GB30712@mwanda> References: <20160510192037.GB30712@mwanda> In-Reply-To: <20160510192037.GB30712@mwanda> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Dan Carpenter Cc: Ondrej Zary , Florian Westphal , "David S. Miller" , Felipe Balbi , Andy Shevchenko , Johannes Berg , linux-wireless@vger.kernel.org, kernel-janitors@vger.kernel.org Dan Carpenter wrote: > I'm not sure if this can underflow but Smatch complains. It seems > harmless to add a check for negatives. > > Signed-off-by: Dan Carpenter Thanks, 1 patch applied to wireless-drivers-next.git: 03ba4a1b718e airo: prevent potential underflow in airo_set_freq() -- Sent by pwcli https://patchwork.kernel.org/patch/9061381/