All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thierry Reding <thierry.reding@gmail.com>
To: Zhen Lei <thunder.leizhen@huawei.com>
Cc: Jonathan Hunter <jonathanh@nvidia.com>,
	Timo Alho <talho@nvidia.com>,
	linux-tegra <linux-tegra@vger.kernel.org>
Subject: Re: [PATCH 1/1] firmware: tegra: Fix error return code in tegra210_bpmp_init()
Date: Tue, 1 Jun 2021 17:07:33 +0200	[thread overview]
Message-ID: <YLZNNS1sPl9qbJVD@orome.fritz.box> (raw)
In-Reply-To: <20210513132646.6488-1-thunder.leizhen@huawei.com>

[-- Attachment #1: Type: text/plain, Size: 594 bytes --]

On Thu, May 13, 2021 at 09:26:46PM +0800, Zhen Lei wrote:
> When call irq_get_irq_data() to get the IRQ's irq_data failed, an
> appropriate error code -ENOENT should be returned. However, we directly
> return 'err', which records the IRQ number instead of the error code.
> 
> Fixes: 139251fc2208 ("firmware: tegra: add bpmp driver for Tegra210")
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
> ---
>  drivers/firmware/tegra/bpmp-tegra210.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thierry

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2021-06-01 15:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-13 13:26 [PATCH 1/1] firmware: tegra: Fix error return code in tegra210_bpmp_init() Zhen Lei
2021-06-01 15:07 ` Thierry Reding [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=YLZNNS1sPl9qbJVD@orome.fritz.box \
    --to=thierry.reding@gmail.com \
    --cc=jonathanh@nvidia.com \
    --cc=linux-tegra@vger.kernel.org \
    --cc=talho@nvidia.com \
    --cc=thunder.leizhen@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.