public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Hermes Zhang <Hermes.Zhang@axis.com>
Cc: kernel@axis.com, Hermes Zhang <chenhuiz@axis.com>,
	linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Input: gpio-keys - filter gpio_keys -EPROBE_DEFER error messages
Date: Thu, 28 Dec 2023 23:46:49 -0800	[thread overview]
Message-ID: <ZY55abKFwTLnVGtw@google.com> (raw)
In-Reply-To: <20231229013657.692600-1-Hermes.Zhang@axis.com>

On Fri, Dec 29, 2023 at 09:36:57AM +0800, Hermes Zhang wrote:
> From: Hermes Zhang <chenhuiz@axis.com>
> 
> commit ae42f9288846 ("gpio: Return EPROBE_DEFER if gc->to_irq is NULL")
> make gpiod_to_irq() possible to return -EPROBE_DEFER when the racing
> happens. This causes the following error message to be printed:
> 
>     gpio-keys gpio_keys: Unable to get irq number for GPIO 0, error -517
> 
> Fix that by changing dev_err() to dev_err_probe()
> 
> Signed-off-by: Hermes Zhang <chenhuiz@axis.com>

Applied, thank you.

-- 
Dmitry

      reply	other threads:[~2023-12-29  7:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-29  1:36 [PATCH] Input: gpio-keys - filter gpio_keys -EPROBE_DEFER error messages Hermes Zhang
2023-12-29  7:46 ` Dmitry Torokhov [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=ZY55abKFwTLnVGtw@google.com \
    --to=dmitry.torokhov@gmail.com \
    --cc=Hermes.Zhang@axis.com \
    --cc=chenhuiz@axis.com \
    --cc=kernel@axis.com \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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