Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp643342ybx; Fri, 1 Nov 2019 08:59:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqxjd6jTD1j42ud6WMhjx2K1/C1+S72h5wVPubG8ynu4c5GrfK2QTiP6Fsn8LJTCk3dNa8NC X-Received: by 2002:aa7:ccda:: with SMTP id y26mr13442252edt.130.1572623968608; Fri, 01 Nov 2019 08:59:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572623968; cv=none; d=google.com; s=arc-20160816; b=H2+NwLteGJ4WaxUzihWdnHiR5Uj821Cs3N6fuK8xJzq2GpFBHgJVuN0bdy5KqFe8Zv LavhDAdd2hHPAhEBQE2w3qvoX4imyVnc1cq4BzOwd/uUv1CU5geMQRZ/nTubqws5ftjO 8FMicrZUcU61yU1rqplJPNNwd8FYtueyj6IjcBLZtN8R+wWSG59FI18PREb+4V8nyT9f D3U0gWgiIoNRlEUBoGProCzyXDEgTuANHNLIB/4oWeizP3lkYDDs5eGtsIVgOZLlL84h KIlQIPrwbECGtWzSwFwGqC2T3JCsYq2o/878rZhkNwjvE6suQSqJMOU2KCECthsAYSjv ztug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=U7LLY9iM0iiWeAwkzKopYdLJmX8TODq8zLmyS8A9q7Y=; b=lYUg1LESJ6Ai4plwzt/2GOmytw8om5d2QbIWxoUFO5I8A1lw84DHNjXyJh5U36mJ/b Tgrof8hVE0t83Gip+O9OrQ5LTLy41+Iy0vtcVk7j+sNsLoQamLf3a0f0PdsPoIcqt41k +Pejh4we2Cueljegxq4K7IcY77PMKpxJ0x77JnieOGvs1iShQNRkO8EQF87XFrQZ891U +G6/C/3IT5PNl16AncYm46NuFCDwg2/BQATeuJ3o9OrsE5ROkIpXSKl2IG0PtQxRUZgc K+cRMZxkJSz63BDP2qw1zG+l5o/KowzM6kYA47wn1PhfvwkojFHC01N6tXrJn2wDVzdU KLjg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j12si723614eda.406.2019.11.01.08.59.05; Fri, 01 Nov 2019 08:59:28 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728433AbfKAPTR (ORCPT + 99 others); Fri, 1 Nov 2019 11:19:17 -0400 Received: from mga03.intel.com ([134.134.136.65]:27590 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728318AbfKAPTQ (ORCPT ); Fri, 1 Nov 2019 11:19:16 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 Nov 2019 08:19:15 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.68,256,1569308400"; d="scan'208";a="226056088" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 01 Nov 2019 08:19:14 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1iQYhl-00029T-OR; Fri, 01 Nov 2019 23:19:13 +0800 Date: Fri, 1 Nov 2019 23:19:04 +0800 From: kbuild test robot To: "Ramuthevar,Vadivel MuruganX" Cc: kbuild-all@lists.01.org, linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org, broonie@kernel.org, vigneshr@ti.com, robh+dt@kernel.org, cheol.yong.kim@intel.com, qi-ming.wu@intel.com, Ramuthevar Vadivel Murugan Subject: [PATCH] spi: cadence-quadpsi: fix platform_get_irq.cocci warnings Message-ID: <20191101151904.m2crt32kmn3gedba@4978f4969bb8> References: <20191030081155.29947-3-vadivel.muruganx.ramuthevar@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191030081155.29947-3-vadivel.muruganx.ramuthevar@linux.intel.com> X-Patchwork-Hint: ignore User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kbuild test robot drivers/spi/spi-cadence-quadspi.c:1181:2-9: line 1181 is redundant because platform_get_irq() already prints an error Remove dev_err() messages after platform_get_irq*() failures Generated by: scripts/coccinelle/api/platform_get_irq.cocci Fixes: 61e865acd941 ("spi: cadence-quadpsi: Add support for the Cadence QSPI controller") CC: Ramuthevar Vadivel Murugan Signed-off-by: kbuild test robot --- url: https://github.com/0day-ci/linux/commits/Ramuthevar-Vadivel-MuruganX/spi-cadence-quadpsi-Add-support-for-the-Cadence-QSPI-controller/20191101-174846 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next Please take the patch only if it's a positive warning. Thanks! spi-cadence-quadspi.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/spi/spi-cadence-quadspi.c +++ b/drivers/spi/spi-cadence-quadspi.c @@ -1178,7 +1178,6 @@ static int cadence_qspi_probe(struct pla cqspi->irq = platform_get_irq(pdev, 0); if (cqspi->irq < 0) { - dev_err(dev, "platform_get_irq failed.\n"); ret = -ENXIO; goto err_irq; }