From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [PATCH] omap: mcasp: fix platform_get_irq.cocci warnings
Date: Sun, 13 Dec 2020 05:00:11 +0800 [thread overview]
Message-ID: <20201212210011.GA19017@02354e663adc> (raw)
In-Reply-To: <202012130506.loXUmtHK-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: c91a001a1b2f ("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: 616dbf432c14c411575f7d278d2215534464e632
commit: c91a001a1b2f93d4e3d72cd48efcd9a868a6407e [79/94] omap: mcasp: add omap-mcasp.* and add to Kconfig, Makefile
:::::: branch date: 2 hours ago
:::::: commit date: 2 hours 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;
}
next prev parent reply other threads:[~2020-12-12 21:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` kernel test robot [this message]
2020-12-12 21:00 ` [PATCH] omap: mcasp: fix platform_no_drv_owner.cocci warnings kernel test robot
-- strict thread matches above, loose matches on Subject: below --
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 ` [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=20201212210011.GA19017@02354e663adc \
--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.