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] [day] [month] [year] [list]
Message-ID: <d8622666-cb4e-4f40-a64c-1b430994e84f@ideasonboard.com>
Date: Mon, 28 Oct 2024 11:28:15 +0200
From: Tomi Valkeinen <tomi.valkeinen@...asonboard.com>
To: Ricardo Ribalda <ribalda@...omium.org>,
 Raspberry Pi Kernel Maintenance <kernel-list@...pberrypi.com>,
 Mauro Carvalho Chehab <mchehab@...nel.org>,
 Florian Fainelli <florian.fainelli@...adcom.com>,
 Broadcom internal kernel review list <bcm-kernel-feedback-list@...adcom.com>
Cc: linux-media@...r.kernel.org, linux-rpi-kernel@...ts.infradead.org,
 linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] media: raspberrypi: Remove redundant "no IRQ" message

Hi,

On 18/10/2024 17:24, Ricardo Ribalda wrote:
> platform_get_irq() already provides a error message.
> 
> This fixes the following cocci error:
> drivers/media/platform/raspberrypi/rp1-cfe/cfe.c:2326:2-9: line 2326 is redundant because platform_get_irq() already prints an error
> 
> Signed-off-by: Ricardo Ribalda <ribalda@...omium.org>
> ---
>   drivers/media/platform/raspberrypi/rp1-cfe/cfe.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c b/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
> index 045910de6c57..4e99cccd9a20 100644
> --- a/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
> +++ b/drivers/media/platform/raspberrypi/rp1-cfe/cfe.c
> @@ -2323,7 +2323,6 @@ static int cfe_probe(struct platform_device *pdev)
>   
>   	ret = platform_get_irq(pdev, 0);
>   	if (ret <= 0) {
> -		dev_err(&pdev->dev, "No IRQ resource\n");
>   		ret = -EINVAL;
>   		goto err_cfe_put;
>   	}
> 
> ---
> base-commit: 698b6e3163bafd61e1b7d13572e2c42974ac85ec
> change-id: 20241018-rpi-irq-cocci-878e4a82ea2c
> 
> Best regards,

Reviewed-by: Tomi Valkeinen <tomi.valkeinen@...asonboard.com>

  Tomi


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ