All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [PATCH] memory: tegra: fix platform_get_irq.cocci warnings
Date: Thu, 17 Jun 2021 17:59:09 +0800	[thread overview]
Message-ID: <20210617095909.GA46108@d641290d9800> (raw)
In-Reply-To: <202106171758.yqVPuduD-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1661 bytes --]

CC: kbuild-all(a)lists.01.org
CC: Linux Memory Management List <linux-mm@kvack.org>
TO: Dmitry Osipenko <digetx@gmail.com>
CC: Thierry Reding <treding@nvidia.com>
CC: Krzysztof Kozlowski <krzk@kernel.org>
CC: Jonathan Hunter <jonathanh@nvidia.com>
CC: Viresh Kumar <viresh.kumar@linaro.org>
CC: Chanwoo Choi <cw00.choi@samsung.com>
CC: linux-kernel(a)vger.kernel.org
CC: linux-tegra(a)vger.kernel.org

From: kernel test robot <lkp@intel.com>

drivers/memory/tegra/tegra20-emc.c:1086:2-9: line 1086 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: 56ebc9b0d77e ("memory: tegra: Enable compile testing for all drivers")
CC: Dmitry Osipenko <digetx@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   c7d4c1fd91ab4a6d2620497921a9c6bf54650ab8
commit: 56ebc9b0d77e0406aba2d900c82e79204cc7dc32 [6065/10489] memory: tegra: Enable compile testing for all drivers
:::::: branch date: 21 hours ago
:::::: commit date: 2 weeks ago

Please take the patch only if it's a positive warning. Thanks!

 tegra20-emc.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/memory/tegra/tegra20-emc.c
+++ b/drivers/memory/tegra/tegra20-emc.c
@@ -1083,7 +1083,6 @@ static int tegra_emc_probe(struct platfo
 
 	irq = platform_get_irq(pdev, 0);
 	if (irq < 0) {
-		dev_err(&pdev->dev, "please update your device tree\n");
 		return irq;
 	}
 

      parent reply	other threads:[~2021-06-17  9:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-17  9:58 [linux-next:master 6065/10489] drivers/memory/tegra/tegra20-emc.c:744:0-23: WARNING: tegra_emc_debug_max_rate_fops should be defined with DEFINE_DEBUGFS_ATTRIBUTE kernel test robot
2021-06-17  9:58 ` [PATCH] memory: tegra: fix debugfs_simple_attr.cocci warnings kernel test robot
2021-06-17  9:59 ` kernel test robot
2021-06-17  9:59 ` kernel test robot [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210617095909.GA46108@d641290d9800 \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.