Re: [patch] regulator: qcom-rpm: signedness bug in probe()
From: Mark Brown
Date: Wed Jan 28 2015 - 22:45:54 EST
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.
Attachment:
signature.asc
Description: Digital signature