public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee@kernel.org>
To: Peng Wu <wupeng58@huawei.com>
Cc: linus.walleij@linaro.org, linux-kernel@vger.kernel.org,
	liwei391@huawei.com
Subject: Re: [PATCH] mfd: htc-i2cpld: Fix an IS_ERR() vs NULL bug in htcpld_core_probe
Date: Wed, 28 Sep 2022 11:32:32 +0100	[thread overview]
Message-ID: <YzQiwMwgAZMIH0qF@google.com> (raw)
In-Reply-To: <20220913071659.94677-1-wupeng58@huawei.com>

On Tue, 13 Sep 2022, Peng Wu wrote:

> The gpiochip_request_own_desc() function returns error pointers on error,
> it doesn't return NULL.
> 
> Fixes: 0ef5164a81fbf ("mfd/omap1: htc-i2cpld: Convert to a pure GPIO driver")
> Signed-off-by: Peng Wu <wupeng58@huawei.com>
> ---
>  drivers/mfd/htc-i2cpld.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)

Applied, thanks.

-- 
Lee Jones [李琼斯]

      parent reply	other threads:[~2022-09-28 10:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-13  7:16 [PATCH] mfd: htc-i2cpld: Fix an IS_ERR() vs NULL bug in htcpld_core_probe Peng Wu
2022-09-14 12:50 ` Linus Walleij
2022-09-28 10:32 ` Lee Jones [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=YzQiwMwgAZMIH0qF@google.com \
    --to=lee@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=liwei391@huawei.com \
    --cc=wupeng58@huawei.com \
    /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