diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2015-01-28 22:15:31 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-28 19:43:43 +0000 |
commit | a412ec27957c9dc216b19d638c808d7ddfa2debd (patch) | |
tree | 55550b9e75530de0608f10a959767c508d9ee0b6 /fs/pstore/Kconfig | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
download | op-kernel-dev-a412ec27957c9dc216b19d638c808d7ddfa2debd.zip op-kernel-dev-a412ec27957c9dc216b19d638c808d7ddfa2debd.tar.gz |
regulator: qcom-rpm: signedness bug in probe()
"force_mode" is a u32 so it is never "< 0", but because of type
promotion then comparing "== -1" will do what we want.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'fs/pstore/Kconfig')
0 files changed, 0 insertions, 0 deletions