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>] [day] [month] [year] [list]
Date:   Sun, 17 Nov 2019 12:15:47 +0100 (CET)
From:   Julia Lawall <julia.lawall@...6.fr>
To:     Eddie James <eajames@...ux.ibm.com>
cc:     linux-kernel@...r.kernel.org, linux-aspeed@...ts.ozlabs.org,
        andrew@...id.au, joel@....id.au, maz@...nel.org,
        jason@...edaemon.net, tglx@...utronix.de, robh+dt@...nel.org,
        mark.rutland@....com, devicetree@...r.kernel.org,
        kbuild-all@...ts.01.org
Subject: [PATCH] drivers/soc: fix platform_get_irq.cocci warnings

From: kbuild test robot <lkp@...el.com>

Remove dev_err() messages after platform_get_irq() failures because
platform_get_irq already prints an appropriate message.

Generated by: scripts/coccinelle/api/platform_get_irq.cocci

Fixes: eeb5d52f36e5 ("drivers/soc: Add Aspeed XDMA Engine Driver")
CC: Eddie James <eajames@...ux.ibm.com>
Signed-off-by: kbuild test robot <lkp@...el.com>
Signed-off-by: Julia Lawall <julia.lawall@...6.fr>
---

url:    https://github.com/0day-ci/linux/commits/Eddie-James/Aspeed-Add-SCU-interrupt-controller-and-XDMA-engine-drivers/20191110-064846
base:   https://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed.git for-next
:::::: branch date: 7 days ago
:::::: commit date: 7 days ago

Please take the patch only if it's a positive warning. Thanks!

 aspeed-xdma.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/soc/aspeed/aspeed-xdma.c
+++ b/drivers/soc/aspeed/aspeed-xdma.c
@@ -753,7 +753,6 @@ static int aspeed_xdma_probe(struct plat

 	irq = platform_get_irq(pdev, 0);
 	if (irq < 0) {
-		dev_err(dev, "Unable to find IRQ.\n");
 		return -ENODEV;
 	}

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ