commit | e54560d963866a45e5905a16821e3904ed0c9561 | [log] [tgz] |
---|---|---|
author | Andrzej Hajda <a.hajda@samsung.com> | Thu Sep 24 11:00:18 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Sat Oct 03 11:32:32 2015 -0300 |
tree | efc5204397e03f19ac48ebf4e388e84ea53bc028 | |
parent | 2788052a8ac9326723c8526f9c5953b8cfff8ab5 [diff] |
[media] cx231xx: fix handling cx231xx_read_i2c_data result The function can return negative value. 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: Mauro Carvalho Chehab <mchehab@osg.samsung.com>