From patchwork Sun Nov 17 11:11:53 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 11248079 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 834E46C1 for ; Sun, 17 Nov 2019 11:11:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6CC952075C for ; Sun, 17 Nov 2019 11:11:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726177AbfKQLL4 (ORCPT ); Sun, 17 Nov 2019 06:11:56 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:40008 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725974AbfKQLL4 (ORCPT ); Sun, 17 Nov 2019 06:11:56 -0500 X-IronPort-AV: E=Sophos;i="5.68,316,1569276000"; d="scan'208";a="327005564" Received: from abo-228-123-68.mrs.modulonet.fr (HELO hadrien) ([85.68.123.228]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Nov 2019 12:11:54 +0100 Date: Sun, 17 Nov 2019 12:11:53 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Philipp Zabel 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 Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: kbuild test robot 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 Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- 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; }