lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <933c889e-dee0-4fc3-bf1a-b3655cabbb28@gmail.com>
Date:   Wed, 15 Sep 2021 17:05:59 -0700
From:   Florian Fainelli <f.fainelli@...il.com>
To:     Florian Fainelli <f.fainelli@...il.com>,
        linux-kernel@...r.kernel.org
Cc:     Markus Mayer <mmayer@...adcom.com>,
        "maintainer:BROADCOM STB AVS TMON DRIVER" 
        <bcm-kernel-feedback-list@...adcom.com>,
        Zhang Rui <rui.zhang@...el.com>,
        Daniel Lezcano <daniel.lezcano@...aro.org>,
        Amit Kucheria <amitk@...nel.org>,
        "open list:BROADCOM STB AVS TMON DRIVER" <linux-pm@...r.kernel.org>,
        "moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE" 
        <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH] thermal: brcmstb_thermal: Interrupt is optional



On 4/26/2021 2:36 PM, Florian Fainelli wrote:
> Utilize platform_get_irq_optional() to silence these messages:
> 
> brcmstb_thermal a581500.thermal: IRQ index 0 not found
> 
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>

This patch was never picked up and still applies. Daniel, can you pick 
it up?

Thanks!

> ---
>   drivers/thermal/broadcom/brcmstb_thermal.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/broadcom/brcmstb_thermal.c b/drivers/thermal/broadcom/brcmstb_thermal.c
> index 8df5edef1ded..0cedb8b4f00a 100644
> --- a/drivers/thermal/broadcom/brcmstb_thermal.c
> +++ b/drivers/thermal/broadcom/brcmstb_thermal.c
> @@ -351,7 +351,7 @@ static int brcmstb_thermal_probe(struct platform_device *pdev)
>   
>   	priv->thermal = thermal;
>   
> -	irq = platform_get_irq(pdev, 0);
> +	irq = platform_get_irq_optional(pdev, 0);
>   	if (irq >= 0) {
>   		ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
>   						brcmstb_tmon_irq_thread,
> 

-- 
Florian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ