public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chanwoo Choi <cw00.choi@samsung.com>
To: Arvind Yadav <arvind.yadav.cs@gmail.com>,
	myungjoo.ham@samsung.com, wens@csie.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] Handle return value and error checking of platform_get_irq
Date: Fri, 24 Nov 2017 09:07:48 +0900	[thread overview]
Message-ID: <5A1762D4.9020902@samsung.com> (raw)
In-Reply-To: <1511452530-16858-1-git-send-email-arvind.yadav.cs@gmail.com>

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

      parent reply	other threads:[~2017-11-24  0:07 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20171123155542epcas3p38259ac96b30879770cf72c83d199815b@epcas3p3.samsung.com>
2017-11-23 15:55 ` [PATCH 0/2] Handle return value and error checking of platform_get_irq Arvind Yadav
2017-11-23 15:55   ` [PATCH 1/2] extcon: adc-jack: Fix platform_get_irq's error checking Arvind Yadav
2017-11-23 15:55   ` [PATCH 2/2] extcon: axp288:: Handle return value of platform_get_irq Arvind Yadav
2017-11-24  0:07   ` Chanwoo Choi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A1762D4.9020902@samsung.com \
    --to=cw00.choi@samsung.com \
    --cc=arvind.yadav.cs@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=myungjoo.ham@samsung.com \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox