Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp3018881ybc; Mon, 18 Nov 2019 08:16:28 -0800 (PST) X-Google-Smtp-Source: APXvYqw6n1CWJmIJattDeYA4eLhrqUCqB0oMuLPTxterS/eu//7vpEhKBEbfw6vDaMFVr4dvCCMk X-Received: by 2002:adf:fd4a:: with SMTP id h10mr29387323wrs.90.1574093788527; Mon, 18 Nov 2019 08:16:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574093788; cv=none; d=google.com; s=arc-20160816; b=jn8jgKoGKQXf63IyBp9aakfhtgxeup60oaz6fCs2ajJ5wDEnULlr+Z+a4tACPu08wW auA9bbuute7copmghm0vLkKO0vbJQ72haBQtlfhw9VUYAmYvnJMnhHFem7GqgsiHrAeu a+cYxUfkbQXs0CAk71ZR5rPPeIaaizcMUNAC+hOtd2CnFtvRWouWo8QJoeGpmaivSGtk KXnj0jWT9rQdvvMM24fflUHjDrnbqsyGYAA1CYa6pChGhnJdy3n+M9fJfebNy9JD0NaO FZqfTyWhjZImoVQrG9hjdeKh0Mwbxglclngnow/PW0+pVVAkz3BY1Z7DJXEEvmDVFEbF vD1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:from:date; bh=KdXLy1SKyiqUD60DFI5NxC6yicQGdCK/yGIGcPPQ1WI=; b=bawL1NWjDVrdO18hvETqQiS1L4iATDuxmpflaPk/ZM3k9iJ0BeOQNTOpmQZ4TZny5e cSeTSYXsg6xwq2WJQulw9xiaboxGSYvZHRKROg0CT2nQX2e5kI8G/EHAX0xXDQQzoXMq +jOzbvMgoMMx32mmhsELLyPWtlMwkv5qQ4Abcu2i1NIqdDojL8jurxKVNr2XEZB6azf8 jn1MC3V+3eUIQBEYk+gzM3cM1YviJPRlBIPqX7lsril3kiFP2COAAoxhvhrWMtBMa1xw c0Z/j5Wa0JvWR4v9BC2tODybla1Ja+Q/0fbKnSFNhQ3xWl7gOoN7eAn1qxbWOUR4HV1b XvGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w47si13909118edd.326.2019.11.18.08.16.03; Mon, 18 Nov 2019 08:16:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727441AbfKRQMv (ORCPT + 99 others); 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: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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; }