From patchwork Thu Feb 27 10:35:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 11408259 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F258292A for ; Thu, 27 Feb 2020 10:35:35 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D2F3524691 for ; Thu, 27 Feb 2020 10:35:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D2F3524691 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=inria.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 311746B0005; Thu, 27 Feb 2020 05:35:35 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 2E9B16B0006; Thu, 27 Feb 2020 05:35:35 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2009E6B0007; Thu, 27 Feb 2020 05:35:35 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0115.hostedemail.com [216.40.44.115]) by kanga.kvack.org (Postfix) with ESMTP id 084DE6B0005 for ; Thu, 27 Feb 2020 05:35:35 -0500 (EST) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id AD67E180AD80F for ; Thu, 27 Feb 2020 10:35:34 +0000 (UTC) X-FDA: 76535550588.25.uncle00_6ad2189384f40 X-Spam-Summary: 1,0,0,,d41d8cd98f00b204,julia.lawall@inria.fr,,RULES_HIT:30054:30064,0,RBL:192.134.164.83:@inria.fr:.lbl8.mailshell.net-62.2.5.0 64.100.201.201,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fp,MSBL:0,DNSBL:neutral,Custom_rules:0:0:0,LFtime:25,LUA_SUMMARY:none X-HE-Tag: uncle00_6ad2189384f40 X-Filterd-Recvd-Size: 2175 Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by imf33.hostedemail.com (Postfix) with ESMTP for ; Thu, 27 Feb 2020 10:35:33 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.70,491,1574118000"; d="scan'208";a="437871675" Received: from dt-lawall.paris.inria.fr ([128.93.67.65]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Feb 2020 11:35:32 +0100 Date: Thu, 27 Feb 2020 11:35:32 +0100 (CET) From: Julia Lawall X-X-Sender: julia@hadrien To: Andrew Morton , Dmitry Osipenko cc: kbuild-all@lists.01.org, Linux Memory Management List Subject: [PATCH] dmaengine: tegra-apb: fix platform_get_irq.cocci warnings Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: From: kbuild test robot Remove dev_err() messages after platform_get_irq*() failures. platform_get_irq() already prints an error. Generated by: scripts/coccinelle/api/platform_get_irq.cocci Fixes: 6c41ac96ad92 ("dmaengine: tegra-apb: Support COMPILE_TEST") CC: Dmitry Osipenko Signed-off-by: kbuild test robot Signed-off-by: Julia Lawall Reviewed-by: Dmitry Osipenko Acked-by: Thierry Reding --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: f3fef7e990dae5fcd7cd8ccbd9b2a98bdb481da8 commit: 6c41ac96ad9217fe2a6f31c9dcc31b97365b21f6 [4196/4617] dmaengine: tegra-apb: Support COMPILE_TEST :::::: branch date: 17 hours ago :::::: commit date: 2 days ago Please take the patch only if it's a positive warning. Thanks! tegra20-apb-dma.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/dma/tegra20-apb-dma.c +++ b/drivers/dma/tegra20-apb-dma.c @@ -1477,7 +1477,6 @@ static int tegra_dma_probe(struct platfo irq = platform_get_irq(pdev, i); if (irq < 0) { ret = irq; - dev_err(&pdev->dev, "No irq resource for chan %d\n", i); goto err_pm_disable; }