Linux Power Management development
 help / color / mirror / Atom feed
From: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>
To: Pan Chuang <panchuang@vivo.com>,
	Markus Mayer <mmayer@broadcom.com>,
	Broadcom internal kernel review list
	<bcm-kernel-feedback-list@broadcom.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>,
	Viresh Kumar <viresh.kumar@linaro.org>,
	Florian Fainelli <florian.fainelli@broadcom.com>,
	"open list:BROADCOM STB AVS CPUFREQ DRIVER"
	<linux-pm@vger.kernel.org>,
	"moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE"
	<linux-arm-kernel@lists.infradead.org>,
	open list <linux-kernel@vger.kernel.org>,
	zhongqiu.han@oss.qualcomm.com
Subject: Re: [PATCH] cpufreq: Remove redundant dev_err()
Date: Tue, 14 Jul 2026 10:39:11 +0800	[thread overview]
Message-ID: <247557f4-48d8-4cd1-beeb-3317cee58d0f@oss.qualcomm.com> (raw)
In-Reply-To: <20260713131131.313588-1-panchuang@vivo.com>

On 7/13/2026 9:11 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>

Looks good to me overall.

However the subject is too generic and can be misread as a cpufreq core
fix. Please scope it to the driver, e.g:
"cpufreq: brcmstb-avs: Remove redundant dev_err() on IRQ request failure".

With that:

Reviewed-by: Zhongqiu Han <zhongqiu.han@oss.qualcomm.com>


> ---
>   drivers/cpufreq/brcmstb-avs-cpufreq.c | 5 +----
>   1 file changed, 1 insertion(+), 4 deletions(-)
> 
> diff --git a/drivers/cpufreq/brcmstb-avs-cpufreq.c b/drivers/cpufreq/brcmstb-avs-cpufreq.c
> index 71450cca8e9f..7d902856ac01 100644
> --- a/drivers/cpufreq/brcmstb-avs-cpufreq.c
> +++ b/drivers/cpufreq/brcmstb-avs-cpufreq.c
> @@ -584,11 +584,8 @@ static int brcm_avs_prepare_init(struct platform_device *pdev)
>   	ret = devm_request_irq(dev, priv->host_irq, irq_handler,
>   			       IRQF_TRIGGER_RISING,
>   			       BRCM_AVS_HOST_INTR, priv);
> -	if (ret && priv->host_irq >= 0) {
> -		dev_err(dev, "IRQ request failed: %s (%d) -- %d\n",
> -			BRCM_AVS_HOST_INTR, priv->host_irq, ret);
> +	if (ret && priv->host_irq >= 0)
>   		goto unmap_intr_base;
> -	}
>   
>   	if (brcm_avs_is_firmware_loaded(priv))
>   		return 0;


-- 
Thx and BRs,
Zhongqiu Han

  reply	other threads:[~2026-07-14  2:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-13 13:11 [PATCH] cpufreq: Remove redundant dev_err() Pan Chuang
2026-07-14  2:39 ` Zhongqiu Han [this message]
2026-07-14  4:13   ` Viresh Kumar

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=247557f4-48d8-4cd1-beeb-3317cee58d0f@oss.qualcomm.com \
    --to=zhongqiu.han@oss.qualcomm.com \
    --cc=bcm-kernel-feedback-list@broadcom.com \
    --cc=florian.fainelli@broadcom.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=mmayer@broadcom.com \
    --cc=panchuang@vivo.com \
    --cc=rafael@kernel.org \
    --cc=viresh.kumar@linaro.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