From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2BC90C432C0 for ; Mon, 18 Nov 2019 16:12:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 032FB206DA for ; Mon, 18 Nov 2019 16:12:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727427AbfKRQMv (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 Content-Type: text/plain; charset=US-ASCII Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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; }