aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/cpu-freq
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2015-12-30 12:18:42 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-01-05 02:01:38 +0100
commit929ca89c305a6ed7a4149115be99af6d73c36918 (patch)
treef668f2086b6e2303f4bc8f5e87f03c8f41e8cc07 /Documentation/cpu-freq
parentcpufreq: governor: Fix negative idle_time when configured with CONFIG_HZ_PERIODIC (diff)
downloadlinux-dev-929ca89c305a6ed7a4149115be99af6d73c36918.tar.xz
linux-dev-929ca89c305a6ed7a4149115be99af6d73c36918.zip
cpufreq-dt: fix handling regulator_get_voltage() result
The function can return negative values so it should be assigned to signed type. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci. Link: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/cpu-freq')
0 files changed, 0 insertions, 0 deletions