Searched hist:"363 b3891" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/extcon/ |
H A D | extcon-sm5502.c | 363b3891 Thu Sep 24 09:00:21 CDT 2015 Andrzej Hajda <a.hajda@samsung.com> extcon: sm5502: fix handling regmap_irq_get_virq 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: Chanwoo Choi <cw00.choi@samsung.com> 363b3891 Thu Sep 24 09:00:21 CDT 2015 Andrzej Hajda <a.hajda@samsung.com> extcon: sm5502: fix handling regmap_irq_get_virq 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: Chanwoo Choi <cw00.choi@samsung.com>
|