[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150128194351.GM21293@sirena.org.uk>
Date: Wed, 28 Jan 2015 19:43:51 +0000
From: Mark Brown <broonie@...nel.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Liam Girdwood <lgirdwood@...il.com>,
Bjorn Andersson <bjorn.andersson@...ymobile.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] regulator: qcom-rpm: signedness bug in probe()
On Wed, Jan 28, 2015 at 10:15:31PM +0300, Dan Carpenter wrote:
> "force_mode" is a u32 so it is never "< 0", but because of type
> promotion then comparing "== -1" will do what we want.
Applied, thanks.
Download attachment "signature.asc" of type "application/pgp-signature" (474 bytes)
Powered by blists - more mailing lists