All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 7455/9113] drivers/iio/adc/rzg2l_adc.c:510:2-9: line 510 is redundant because platform_get_irq() already prints an error
@ 2021-08-19 14:02 kernel test robot
  2021-08-19 14:02 ` [PATCH] iio: adc: fix platform_get_irq.cocci warnings kernel test robot
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-08-19 14:02 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
CC: Jonathan Cameron <Jonathan.Cameron@huawei.com>
CC: Biju Das <biju.das.jz@bp.renesas.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   33e65b1f975cd2814fc0ea9617250fc4c1d7a553
commit: d484c21bacfa8bd2fa9fc26393ec59108f508c4c [7455/9113] iio: adc: Add driver for Renesas RZ/G2L A/D converter
:::::: branch date: 5 hours ago
:::::: commit date: 4 days ago
config: powerpc64-randconfig-c023-20210818 (attached as .config)
compiler: powerpc-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Julia Lawall <julia.lawall@lip6.fr>


cocci warnings: (new ones prefixed by >>)
>> drivers/iio/adc/rzg2l_adc.c:510:2-9: line 510 is redundant because platform_get_irq() already prints an error

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 42212 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH] iio: adc: fix platform_get_irq.cocci warnings
  2021-08-19 14:02 [linux-next:master 7455/9113] drivers/iio/adc/rzg2l_adc.c:510:2-9: line 510 is redundant because platform_get_irq() already prints an error kernel test robot
@ 2021-08-19 14:02 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-08-19 14:02 UTC (permalink / raw)
  To: kbuild

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

CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
CC: Jonathan Cameron <Jonathan.Cameron@huawei.com>
CC: Biju Das <biju.das.jz@bp.renesas.com>
CC: "Lars-Peter Clausen" <lars@metafoo.de>
CC: linux-iio(a)vger.kernel.org
CC: linux-renesas-soc(a)vger.kernel.org
CC: linux-kernel(a)vger.kernel.org

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

drivers/iio/adc/rzg2l_adc.c:510:2-9: line 510 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: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.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/next/linux-next.git master
head:   33e65b1f975cd2814fc0ea9617250fc4c1d7a553
commit: d484c21bacfa8bd2fa9fc26393ec59108f508c4c [7455/9113] iio: adc: Add driver for Renesas RZ/G2L A/D converter
:::::: branch date: 5 hours ago
:::::: commit date: 4 days ago

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

 rzg2l_adc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/iio/adc/rzg2l_adc.c
+++ b/drivers/iio/adc/rzg2l_adc.c
@@ -507,7 +507,6 @@ static int rzg2l_adc_probe(struct platfo
 
 	irq = platform_get_irq(pdev, 0);
 	if (irq < 0) {
-		dev_err(dev, "no irq resource\n");
 		return irq;
 	}
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-08-19 14:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-19 14:02 [linux-next:master 7455/9113] drivers/iio/adc/rzg2l_adc.c:510:2-9: line 510 is redundant because platform_get_irq() already prints an error kernel test robot
2021-08-19 14:02 ` [PATCH] iio: adc: fix platform_get_irq.cocci warnings kernel test robot

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.