Files
android_kernel_xiaomi_sm8450/drivers/rtc
Andrzej Hajda 68c85f2916 rtc: rv8803: fix handling return value of i2c_smbus_read_byte_data
The function can return negative values, so its result should
be assigned to signed variable.

The problem has been detected using proposed semantic patch
scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1].

[1]: http://permalink.gmane.org/gmane.linux.kernel/2046107

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2016-01-11 20:20:00 +01:00
..
2016-01-11 20:19:59 +01:00
2016-01-11 20:19:59 +01:00
2015-09-05 19:37:31 +02:00
2015-09-05 19:37:18 +02:00
2016-01-11 20:19:58 +01:00
2016-01-11 20:19:58 +01:00
2015-09-05 13:19:06 +02:00
2015-08-05 20:03:56 +08:00
2013-04-19 13:51:25 +02:00
2014-09-19 12:39:19 +02:00
2015-09-05 19:37:19 +02:00