All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [PATCH] iio: adc: fix platform_get_irq.cocci warnings
Date: Thu, 19 Aug 2021 22:02:30 +0800	[thread overview]
Message-ID: <20210819140230.GA17272@f306fac2d22d> (raw)
In-Reply-To: <202108192227.RJ0Vzbqa-lkp@intel.com>

[-- 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;
 	}
 

      reply	other threads:[~2021-08-19 14:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=20210819140230.GA17272@f306fac2d22d \
    --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.