From patchwork Mon Nov 18 16:12:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 11249939 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 E5DB7913 for ; Mon, 18 Nov 2019 16:12:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C58FE206DA for ; Mon, 18 Nov 2019 16:12:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727431AbfKRQMv (ORCPT ); Mon, 18 Nov 2019 11:12:51 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:12483 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726939AbfKRQMv (ORCPT ); Mon, 18 Nov 2019 11:12:51 -0500 X-IronPort-AV: E=Sophos;i="5.68,320,1569276000"; d="scan'208";a="327139129" Received: from portablejulia.rsr.lip6.fr ([132.227.76.63]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Nov 2019 17:12:48 +0100 Date: Mon, 18 Nov 2019 17:12:47 +0100 (CET) From: Julia Lawall X-X-Sender: julia@hadrien To: Paul Cercueil cc: Ohad Ben-Cohen , Bjorn Andersson , Rob Herring , Mark Rutland , od@zcrc.me, linux-remoteproc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil , kbuild-all@lists.01.org Subject: [PATCH] remoteproc: ingenic: fix platform_get_irq.cocci warnings Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Sender: linux-remoteproc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-remoteproc@vger.kernel.org From: kbuild test robot 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 Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- 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; }