Tag: 929ca89c305a6ed7a4149115be99af6d73c36918

cpufreq-dt: fix handling regulator_get_voltage() result

Author: Andrzej Hajda <a.hajda@samsung.com> 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 Acked-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki — drivers/cpufreq/cpufreq-dt.c | 5 +++– 1 file changed, 3 insertions(+), 2 deletions(-)   diff –git …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.