From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings
Date: Tue, 23 Nov 2021 11:48:06 +0800 [thread overview]
Message-ID: <20211123034806.GA27272@a68bbc61337e> (raw)
In-Reply-To: <202111231137.VF8gWf0x-lkp@intel.com>
[-- Attachment #1: Type: text/plain, Size: 1396 bytes --]
CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Roman Kiryanov <rkir@google.com>
CC: Sebastian Reichel <sre@kernel.org>
CC: linux-pm(a)vger.kernel.org
CC: linux-kernel(a)vger.kernel.org
From: kernel test robot <lkp@intel.com>
drivers/power/supply/goldfish_battery.c:225:2-9: line 225 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
CC: Roman Kiryanov <rkir@google.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 136057256686de39cc3a07c2e39ef6bc43003ff6
commit: 570b7c0ea20c0156411394bc215114f7b1dc18ff power: supply: goldfish: Remove the GOLDFISH dependency
:::::: branch date: 30 hours ago
:::::: commit date: 8 months ago
Please take the patch only if it's a positive warning. Thanks!
goldfish_battery.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/power/supply/goldfish_battery.c
+++ b/drivers/power/supply/goldfish_battery.c
@@ -222,7 +222,6 @@ static int goldfish_battery_probe(struct
data->irq = platform_get_irq(pdev, 0);
if (data->irq < 0) {
- dev_err(&pdev->dev, "platform_get_irq failed\n");
return -ENODEV;
}
next prev parent reply other threads:[~2021-11-23 3:48 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-23 3:48 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2021-11-23 3:48 ` kernel test robot [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-02-08 14:27 kernel test robot
2022-02-08 14:21 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-02-07 9:30 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-02-07 9:28 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-02-04 1:29 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-02-03 19:12 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-01-31 12:27 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-01-31 12:19 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-01-30 17:23 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-01-30 17:22 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-01-27 4:58 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-01-27 4:50 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-01-27 2:53 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-01-27 2:44 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-01-25 19:17 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-01-25 18:40 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-01-22 7:20 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-01-22 7:11 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-01-22 1:23 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-01-22 1:19 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-01-20 13:41 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-01-20 13:30 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-01-18 12:15 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-01-18 12:06 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2022-01-18 4:13 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2022-01-18 4:05 ` [PATCH] power: supply: goldfish: fix platform_get_irq.cocci warnings kernel test robot
2021-12-11 10:21 kernel test robot
2021-11-21 14:35 drivers/power/supply/goldfish_battery.c:225:2-9: line 225 is redundant because platform_get_irq() already prints an error kernel test robot
2021-11-21 14:35 ` [PATCH] power: supply: goldfish: 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=20211123034806.GA27272@a68bbc61337e \
--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.