Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1591550ybc; Sun, 17 Nov 2019 03:17:45 -0800 (PST) X-Google-Smtp-Source: APXvYqwNXdLwO1+e41Tc4Mp1PU8duyjjZ8Zk4WinYxPA5q99dIOboZOmW5CnuyOYbstpHk8h5WlH X-Received: by 2002:a17:906:c293:: with SMTP id r19mr17236984ejz.69.1573989464973; Sun, 17 Nov 2019 03:17:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573989464; cv=none; d=google.com; s=arc-20160816; b=yPf6DQbTBNZGQZw1nVdwTtq8fZmib7rR+w2LXTqIMOk9Bglv1tP0ofl5HuqqwF6mWe N+Uo0XtL2XX0PEatqPNEn+JUr1Crfj2iq1jxo6D2EoqMMWw9fqUICEa3cxx7qUnoDeLO 0xyVElIQFX2yt6evP73YEl1Wmc6up2YdTxutKNfopdXfX/2TwSanQoBrZ8pfjhVxbAms pTSiuiWfduGgm2Tz0+1FK4Nj8OL4T7rFvU+sI+4GcP++NIT1evg5r3Rbw0gRdSeFBPVp 3IeGVVT94Q6y6s+hNYtyZGfvDts/voiQlNMjh24UnuckMezU1ucmdz0Yo8YlI7pgnHB+ tXPg== 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=spjewMQNQNW2/1izvK/5fW5/h8YJhdURomt/roHVeUo=; b=XexYTUEb+QlF4c9tGAf3FgsQlmUEg50TvGCRDBwniUGPj7jHQbALl8THHYYrW4gyoj VtaEJxx7CGiwYb5DYDjy4fPn02QXotfpVOz8iK6YCPYG1t33TyJpxQk0QxFbm/88S++3 GYkzY17ofx5P+/yqMjVJVHD6wIo6aoR1ErKiRSi+sTgGxXr4EP6PvBUz2srBHmLTPUM7 xV1tgcqV1S7+fl18ZB8uAOKApGJdTd1RlIzfDJAhGQ84cp2J+VpKc9e15RYYa6Xf8nPZ rHw+dPj9VPEgAH91NUMKSQ5rmnjdMUg8iV6fS1dgJFKzSBbEZfqkv2LJ5+rJk6r82OMT ++Jw== 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 l1si7836237edw.274.2019.11.17.03.17.19; Sun, 17 Nov 2019 03:17:44 -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 S1726091AbfKQLPu (ORCPT + 99 others); Sun, 17 Nov 2019 06:15:50 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:40268 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725974AbfKQLPu (ORCPT ); Sun, 17 Nov 2019 06:15:50 -0500 X-IronPort-AV: E=Sophos;i="5.68,316,1569276000"; d="scan'208";a="327005806" 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:15:48 +0100 Date: Sun, 17 Nov 2019 12:15:47 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Eddie James cc: linux-kernel@vger.kernel.org, linux-aspeed@lists.ozlabs.org, andrew@aj.id.au, joel@jms.id.au, maz@kernel.org, jason@lakedaemon.net, tglx@linutronix.de, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, kbuild-all@lists.01.org Subject: [PATCH] drivers/soc: 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 because platform_get_irq already prints an appropriate message. Generated by: scripts/coccinelle/api/platform_get_irq.cocci Fixes: eeb5d52f36e5 ("drivers/soc: Add Aspeed XDMA Engine Driver") CC: Eddie James Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall --- url: https://github.com/0day-ci/linux/commits/Eddie-James/Aspeed-Add-SCU-interrupt-controller-and-XDMA-engine-drivers/20191110-064846 base: https://git.kernel.org/pub/scm/linux/kernel/git/joel/aspeed.git for-next :::::: branch date: 7 days ago :::::: commit date: 7 days ago Please take the patch only if it's a positive warning. Thanks! aspeed-xdma.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/soc/aspeed/aspeed-xdma.c +++ b/drivers/soc/aspeed/aspeed-xdma.c @@ -753,7 +753,6 @@ static int aspeed_xdma_probe(struct plat irq = platform_get_irq(pdev, 0); if (irq < 0) { - dev_err(dev, "Unable to find IRQ.\n"); return -ENODEV; }