Linux Media Controller development
 help / color / mirror / Atom feed
From: Julia Lawall <julia.lawall@lip6.fr>
To: Philipp Zabel <p.zabel@pengutronix.de>
Cc: linux-media@vger.kernel.org, kernel@pengutronix.de,
	kbuild-all@lists.01.org
Subject: [PATCH] media: coda: jpeg: fix platform_get_irq.cocci warnings
Date: Sun, 17 Nov 2019 12:11:53 +0100 (CET)	[thread overview]
Message-ID: <alpine.DEB.2.21.1911171210230.2641@hadrien> (raw)

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

Error report is redundant because platform_get_irq() already prints an
error

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

Fixes: fb3a8aa62186 ("media: coda: jpeg: add CODA960 JPEG encoder support")
CC: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

The {} will need to be removed as well.

url:    https://github.com/0day-ci/linux/commits/Philipp-Zabel/media-coda-do-not-skip-finish_run-if-aborting/20191114-025803
base:   git://linuxtv.org/media_tree.git master
:::::: branch date: 4 days ago
:::::: commit date: 4 days ago

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

 coda-common.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/media/platform/coda/coda-common.c
+++ b/drivers/media/platform/coda/coda-common.c
@@ -3019,7 +3019,6 @@ static int coda_probe(struct platform_de
 	if (dev->devtype->product == CODA_960) {
 		irq = platform_get_irq_byname(pdev, "jpeg");
 		if (irq < 0) {
-			dev_err(&pdev->dev, "failed to get jpeg irq resource\n");
 			return irq;
 		}


             reply	other threads:[~2019-11-17 11:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-17 11:11 Julia Lawall [this message]
2019-12-12 11:12 ` [PATCH] media: coda: jpeg: fix platform_get_irq.cocci warnings Hans Verkuil
2019-12-12 14:04   ` Philipp Zabel

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.1911171210230.2641@hadrien \
    --to=julia.lawall@lip6.fr \
    --cc=kbuild-all@lists.01.org \
    --cc=kernel@pengutronix.de \
    --cc=linux-media@vger.kernel.org \
    --cc=p.zabel@pengutronix.de \
    /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