All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [PATCH] omap: mcasp: fix platform_get_irq.cocci warnings
Date: Sun, 11 Apr 2021 08:13:52 +0800	[thread overview]
Message-ID: <20210411001352.GA56810@8f6693aca17b> (raw)
In-Reply-To: <202104110848.vCCx0o3M-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1300 bytes --]

CC: kbuild-all(a)lists.01.org
TO: Peter Ujfalusi <peter.ujfalusi@ti.com>

From: kernel test robot <lkp@intel.com>

sound/soc/ti/omap-mcasp.c:630:2-9: line 630 is redundant because platform_get_irq() already prints an error

 Remove dev_err() messages after platform_get_irq*() failures
Generated by: scripts/coccinelle/api/platform_get_irq.cocci

Fixes: fcb13c7789d9 ("omap: mcasp: add omap-mcasp.* and add to Kconfig, Makefile")
CC: Andrey Utkin <andrey_utkin@fastmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://github.com/omap-audio/linux-audio peter/linux-next-wip
head:   1a1b30085331a74521f22625564118640875d82e
commit: fcb13c7789d9601a4316aa2e82cc011db1c265c4 [58/63] omap: mcasp: add omap-mcasp.* and add to Kconfig, Makefile
:::::: branch date: 3 hours ago
:::::: commit date: 2 weeks ago

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

 omap-mcasp.c |    1 -
 1 file changed, 1 deletion(-)

--- a/sound/soc/ti/omap-mcasp.c
+++ b/sound/soc/ti/omap-mcasp.c
@@ -627,7 +627,6 @@ static int asoc_mcasp_probe(struct platf
 
 	mcasp->irq = platform_get_irq(pdev, 0);
 	if (mcasp->irq < 0) {
-		dev_err(&pdev->dev, "invalid IRQ number\n");
 		return mcasp->irq;
 	}
 

  reply	other threads:[~2021-04-11  0:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-11  0:13 [omap-audio:peter/linux-next-wip 58/63] sound/soc/ti/omap-mcasp.c:630:2-9: line 630 is redundant because platform_get_irq() already prints an error kernel test robot
2021-04-11  0:13 ` kernel test robot [this message]
2021-04-11  0:13 ` [PATCH] omap: mcasp: fix platform_no_drv_owner.cocci warnings kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2020-12-12 21:00 [omap-audio:peter/linux-next-wip 79/94] sound/soc/ti/omap-mcasp.c:630:2-9: line 630 is redundant because platform_get_irq() already prints an error kernel test robot
2020-12-12 21:00 ` [PATCH] omap: mcasp: fix platform_get_irq.cocci warnings kernel test robot

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=20210411001352.GA56810@8f6693aca17b \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.