From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:35982 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752181AbcEKTCM (ORCPT ); Wed, 11 May 2016 15:02:12 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Subject: Re: airo: prevent potential underflow in airo_set_freq() From: Kalle Valo In-Reply-To: <20160510192037.GB30712@mwanda> 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 Message-Id: <20160511190211.9054D6133D@smtp.codeaurora.org> (sfid-20160511_210217_161764_B56CA537) Date: Wed, 11 May 2016 19:02:11 +0000 (UTC) Sender: linux-wireless-owner@vger.kernel.org List-ID: 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/