From: Pan Chuang <panchuang@vivo.com>
To: mperttunen@nvidia.com
Cc: dipenp@nvidia.com, jonathanh@nvidia.com,
linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org,
panchuang@vivo.com, thierry.reding@kernel.org,
timestamp@lists.linux.dev
Subject: Re: [PATCH] hte: Remove redundant dev_err()
Date: Thu, 16 Jul 2026 15:27:03 +0800 [thread overview]
Message-ID: <20260716072703.502632-1-panchuang@vivo.com> (raw)
In-Reply-To: <uIEUpy0pQeWhsholK67nMQ@nvidia.com>
On 2026/7/15 14:17, Mikko Perttunen wrote:
> On Monday, July 13, 2026 10:29 PM Pan Chuang wrote:
>> Since commit 55b48e23f5c4 ("genirq/devres: Add error handling in
>> devm_request_*_irq()"), devm_request_irq() automatically logs
>> detailed error messages on failure. Remove the now-redundant
>> driver-specific dev_err() calls.
>>
>> Signed-off-by: Pan Chuang <panchuang@vivo.com>
>> ---
>> drivers/hte/hte-tegra194.c | 4 +---
>> 1 file changed, 1 insertion(+), 3 deletions(-)
>>
>> diff --git a/drivers/hte/hte-tegra194.c b/drivers/hte/hte-tegra194.c
>> index 4a7702b32b24..e29fb105ca2d 100644
>> --- a/drivers/hte/hte-tegra194.c
>> +++ b/drivers/hte/hte-tegra194.c
>> @@ -856,10 +856,8 @@ static int tegra_hte_probe(struct platform_device *pdev)
>> hte_dev->hte_irq = ret;
>> ret = devm_request_irq(dev, hte_dev->hte_irq, tegra_hte_isr, 0,
>> dev_name(dev), hte_dev);
>> - if (ret < 0) {
>> - dev_err(dev, "request irq failed.\n");
>> + if (ret < 0)
>> return ret;
>> - }
>>
>> gc->nlines = nlines;
>> gc->ops = &g_ops;
>> --
>> 2.34.1
>>
>>
>
> I suppose 'hte: tegra194: ' would be more appropriate, but it's the
> only driver under hte anyway.
>
> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
>
>
>
Thanks for the review.I will update it in the next version of the patch.
Best Regards,
PanChuang
prev parent reply other threads:[~2026-07-16 7:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-13 13:29 Pan Chuang
2026-07-15 6:17 ` Mikko Perttunen
2026-07-16 7:27 ` Pan Chuang [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=20260716072703.502632-1-panchuang@vivo.com \
--to=panchuang@vivo.com \
--cc=dipenp@nvidia.com \
--cc=jonathanh@nvidia.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mperttunen@nvidia.com \
--cc=thierry.reding@kernel.org \
--cc=timestamp@lists.linux.dev \
/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
all inboxes | Powered by JetHome®