From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
To: Pan Chuang <panchuang@vivo.com>, Ioana Ciornei <ioana.ciornei@nxp.com>
Cc: Roy Pledge <Roy.Pledge@nxp.com>,
"open list:FREESCALE SOC DRIVERS" <linuxppc-dev@lists.ozlabs.org>,
"open list:DPAA2 DATAPATH I/O (DPIO) DRIVER"
<linux-kernel@vger.kernel.org>,
"moderated list:FREESCALE SOC DRIVERS"
<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] soc: fsl: dpio: Remove redundant dev_err()
Date: Mon, 27 Jul 2026 11:47:02 +0200 [thread overview]
Message-ID: <877f0d7a-6eb9-4305-be24-20e97bb3edcb@kernel.org> (raw)
In-Reply-To: <20260723024748.30105-1-panchuang@vivo.com>
Hi Ioana,
Le 23/07/2026 à 04:47, Pan Chuang a écrit :
> 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>
I plan to take this patch for v7.3, do you agree with this change ?
Thanks
Christophe
> ---
> drivers/soc/fsl/dpio/dpio-driver.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/drivers/soc/fsl/dpio/dpio-driver.c b/drivers/soc/fsl/dpio/dpio-driver.c
> index 9e3fddd8f5a9..d5198ffc4455 100644
> --- a/drivers/soc/fsl/dpio/dpio-driver.c
> +++ b/drivers/soc/fsl/dpio/dpio-driver.c
> @@ -102,12 +102,8 @@ static int register_dpio_irq_handlers(struct fsl_mc_device *dpio_dev, int cpu)
> 0,
> dev_name(&dpio_dev->dev),
> &dpio_dev->dev);
> - if (error < 0) {
> - dev_err(&dpio_dev->dev,
> - "devm_request_irq() failed: %d\n",
> - error);
> + if (error < 0)
> return error;
> - }
>
> /* set the affinity hint */
> if (irq_set_affinity_hint(irq->virq, cpumask_of(cpu)))
next prev parent reply other threads:[~2026-07-27 9:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-23 2:47 [PATCH] soc: fsl: dpio: Remove redundant dev_err() Pan Chuang
2026-07-27 9:47 ` Christophe Leroy (CS GROUP) [this message]
2026-07-27 9:55 ` Ioana Ciornei
2026-07-27 10:18 ` Christophe Leroy (CS GROUP)
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=877f0d7a-6eb9-4305-be24-20e97bb3edcb@kernel.org \
--to=chleroy@kernel.org \
--cc=Roy.Pledge@nxp.com \
--cc=ioana.ciornei@nxp.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=panchuang@vivo.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