diff options
| author | 2015-01-28 22:15:31 +0300 | |
|---|---|---|
| committer | 2015-01-28 19:43:43 +0000 | |
| commit | a412ec27957c9dc216b19d638c808d7ddfa2debd (patch) | |
| tree | 55550b9e75530de0608f10a959767c508d9ee0b6 /include/linux | |
| parent | Linux 3.19-rc1 (diff) | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
