lkml.org 
[lkml]   [2017]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 0/2] Handle return value and error checking of platform_get_irq
On 2017년 11월 24일 00:55, Arvind Yadav wrote:
> The platform_get_irq() function returns negative if an error occurs.
> zero or positive number on success. platform_get_irq() error checking
> for zero is not correct.
> platform_get_irq() can fail here and we must check its return value.
>
> Arvind Yadav (2):
> [PATCH 1/2] extcon: adc-jack: Fix platform_get_irq's error checking
> [PATCH 2/2] extcon: axp288:: Handle return value of platform_get_irq
>
> drivers/extcon/extcon-adc-jack.c | 2 +-
> drivers/extcon/extcon-axp288.c | 3 +++
> 2 files changed, 4 insertions(+), 1 deletion(-)
>

Applied them.

--
Best Regards,
Chanwoo Choi
Samsung Electronics

\
 
 \ /
  Last update: 2017-11-24 01:08    [W:0.048 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site