linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drivers/soc: fix platform_get_irq.cocci warnings
@ 2019-11-17 11:15 Julia Lawall
  0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2019-11-17 11:15 UTC (permalink / raw)
  To: Eddie James
  Cc: linux-kernel, linux-aspeed, andrew, joel, maz, jason, tglx,
	robh+dt, mark.rutland, devicetree, kbuild-all

From: kbuild test robot <lkp@intel.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@linux.ibm.com>
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.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;
 	}


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-17 11:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-17 11:15 [PATCH] drivers/soc: fix platform_get_irq.cocci warnings Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).