Re: [PATCH] extcon: max77693: fix handling return value of regmap_irq_get_virq

2015-12-14 Thread Chanwoo Choi
On 2015년 12월 14일 20:12, Andrzej Hajda wrote: > The function can return negative values, so its result should > be assigned to signed variable. > > Signed-off-by: Andrzej Hajda > Suggested-by: Krzysztof Kozlowski > --- > drivers/extcon/extcon-max77693.c | 4 ++-- > 1 file changed, 2 insertions(+

Re: [PATCH] extcon: max77693: fix handling return value of regmap_irq_get_virq

2015-12-14 Thread Krzysztof Kozlowski
On 14.12.2015 20:12, Andrzej Hajda wrote: > The function can return negative values, so its result should > be assigned to signed variable. > > Signed-off-by: Andrzej Hajda > Suggested-by: Krzysztof Kozlowski > --- > drivers/extcon/extcon-max77693.c | 4 ++-- > 1 file changed, 2 insertions(+),

[PATCH] extcon: max77693: fix handling return value of regmap_irq_get_virq

2015-12-14 Thread Andrzej Hajda
The function can return negative values, so its result should be assigned to signed variable. Signed-off-by: Andrzej Hajda Suggested-by: Krzysztof Kozlowski --- drivers/extcon/extcon-max77693.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/extcon/extcon-max7769