public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Paul Cercueil <paul@crapouillou.net>
Cc: Ohad Ben-Cohen <ohad@wizery.com>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	od@zcrc.me, linux-remoteproc@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	Paul Cercueil <paul@crapouillou.net>,
	kbuild-all@lists.01.org
Subject: [PATCH] remoteproc: ingenic: fix platform_get_irq.cocci warnings
Date: Mon, 18 Nov 2019 17:12:47 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.21.1911181711270.2856@hadrien> (raw)

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

Remove dev_err() messages after platform_get_irq*() failures as
platform_get_irq already prints an error message.

Generated by: scripts/coccinelle/api/platform_get_irq.cocci

Fixes: 7cb488f13ccb ("remoteproc: ingenic: Added remoteproc driver")
CC: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

The extra {} will have to go as well.

url:    https://github.com/0day-ci/linux/commits/Paul-Cercueil/dt-bindings-Document-JZ47xx-VPU-auxiliary-processor/20191117-011034
base:   https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git for-next
:::::: branch date: 2 days ago
:::::: commit date: 2 days ago

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

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

--- a/drivers/remoteproc/ingenic_rproc.c
+++ b/drivers/remoteproc/ingenic_rproc.c
@@ -201,7 +201,6 @@ static int ingenic_rproc_probe(struct pl

 	vpu->irq = platform_get_irq(pdev, 0);
 	if (vpu->irq < 0) {
-		dev_err(dev, "Failed to get platform IRQ");
 		return vpu->irq;
 	}


                 reply	other threads:[~2019-11-18 16:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=alpine.DEB.2.21.1911181711270.2856@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-remoteproc@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=od@zcrc.me \
    --cc=ohad@wizery.com \
    --cc=paul@crapouillou.net \
    --cc=robh+dt@kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox