Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2785161ybb; Sun, 5 Apr 2020 16:51:59 -0700 (PDT) X-Google-Smtp-Source: APiQypJU5bv2YeaZEBEqOBvRCiYCtagLZKlJ22+uH6YfNKxM+4NqZZr0GlY73VBMMaogne+UzQjT X-Received: by 2002:a05:6830:1313:: with SMTP id p19mr16046727otq.179.1586130719830; Sun, 05 Apr 2020 16:51:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586130719; cv=none; d=google.com; s=arc-20160816; b=NCsAyqQdT9s1Pg9yer7qTpZ4EcD1UNCM9dFPwBCyKIB6iHYM23iYVP0r0HcTHme5O+ fOHAnv9cphOfUYd6HMtfw623IZk0Iqr181VFEe8tzm57i8eozz5Jh/sAgd2cZ/zDo4Kv 4yjoLf+7eJfa+ylZ82zKy73yWvHcYYzetg1SEdBlJ8jzoh7cp6pnt2M7Idf28dCXSafT ZuX7Vk8Ed5giYc1r+RhysFzCzpNe56oypcJDCH+v5+0CAK6SeIV41BRtuCz1R551Zk2Z 0LaRsORfjTS1q0Vn5ANwLPwBARBMkcsAV100jIl4bOq/l9pOSQePlQuNuHlSG96MLYln VMwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:dlp-filter:cms-type :content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:cc:to:subject :dkim-signature:dkim-filter; bh=lSt8LdJPpXoJoLD3otlucHeQK0lf6r+8c36+IMGqGZQ=; b=bKWrtv5fQAKtlbI8rgwNUGLF4jsvPx/EnNiJRlIdvEqRS5zmPW68aopRvzC64783rc Iu1Jtl9zL4od71Pw6P3vLVp+hwvkTc5rw6eKVPVTKhyxCx5CFEewNMqLD3sGPL7BdgZh nb36nbSJqIK1ZC5o8Q+KVeZhT1bZxGl3dKFnXKrN2simoW8nR894O6k8P/o3CnVQsZtC lLx7uFwc9nBTl5dG+tZJZkH0GaKySW/nNObZs6/HTDXHYrmqJQZ4ZavO942iOVarUxIr GOOKOLQMgDtd7heZdwvij8M7m8BTDeuzdfbYwUSH10HIuvoGt+B1gcrkaloUBmdGFrhp pMlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=LUxeaH3f; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s200si6473168oie.188.2020.04.05.16.51.47; Sun, 05 Apr 2020 16:51:59 -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; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=LUxeaH3f; 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=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727707AbgDEXv1 (ORCPT + 99 others); Sun, 5 Apr 2020 19:51:27 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:43025 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727736AbgDEXv0 (ORCPT ); Sun, 5 Apr 2020 19:51:26 -0400 Received: from epcas1p2.samsung.com (unknown [182.195.41.46]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20200405235124epoutp02209e02c35d74edc050295cae0562e427~DEXQraay20733907339epoutp02N for ; Sun, 5 Apr 2020 23:51:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20200405235124epoutp02209e02c35d74edc050295cae0562e427~DEXQraay20733907339epoutp02N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1586130684; bh=lSt8LdJPpXoJoLD3otlucHeQK0lf6r+8c36+IMGqGZQ=; h=Subject:To:Cc:From:Date:In-Reply-To:References:From; b=LUxeaH3f7tTFyDgfKW9t7wHpCSoM88qzVutRnG5xjFo1B+05WakEEGMHT+IxVdRtF RGnxp7JeeFCn+84E+LSxtru8lI4+OMex7aEbTsat6IeURJxCSSQECpez6TpLeMsJvn 1r7IBfg+8KmL6ExuOURwoFmfJUmblUQWED+nB9eI= Received: from epsnrtp1.localdomain (unknown [182.195.42.162]) by epcas1p4.samsung.com (KnoxPortal) with ESMTP id 20200405235123epcas1p47fa7ff1050cd380e55ddbd9c0794e0b4~DEXQDdyg01541915419epcas1p4r; Sun, 5 Apr 2020 23:51:23 +0000 (GMT) Received: from epsmges1p1.samsung.com (unknown [182.195.40.153]) by epsnrtp1.localdomain (Postfix) with ESMTP id 48wVn46KL9zMqYls; Sun, 5 Apr 2020 23:51:20 +0000 (GMT) Received: from epcas1p4.samsung.com ( [182.195.41.48]) by epsmges1p1.samsung.com (Symantec Messaging Gateway) with SMTP id 90.87.04402.8FE6A8E5; Mon, 6 Apr 2020 08:51:20 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas1p4.samsung.com (KnoxPortal) with ESMTPA id 20200405235120epcas1p45e7a155cbceaeb44f40f60c14c1c7cba~DEXMsm99c1826218262epcas1p4c; Sun, 5 Apr 2020 23:51:20 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200405235120epsmtrp1744663a0431b92a131236908e0f9896b~DEXMrzAYn2195221952epsmtrp1B; Sun, 5 Apr 2020 23:51:20 +0000 (GMT) X-AuditID: b6c32a35-753ff70000001132-d9-5e8a6ef88e3d Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 1A.58.04024.7FE6A8E5; Mon, 6 Apr 2020 08:51:19 +0900 (KST) Received: from [10.113.221.102] (unknown [10.113.221.102]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200405235119epsmtip141572a1a03ca2dd0e1a8e20cdb8c43ea~DEXMT-pOM1472414724epsmtip10; Sun, 5 Apr 2020 23:51:19 +0000 (GMT) Subject: Re: [PATCH] PM / devfreq: tegra30: Delete an error message in tegra_devfreq_probe() To: Markus Elfring , linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, Dmitry Osipenko , Jonathan Hunter , Kyungmin Park , MyungJoo Ham , Thierry Reding Cc: LKML , kernel-janitors@vger.kernel.org, Tang Bin From: Chanwoo Choi Organization: Samsung Electronics Message-ID: <924a6012-985e-b22d-6f85-e9eb3f03e88b@samsung.com> Date: Mon, 6 Apr 2020 09:00:20 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Thunderbird/59.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US Content-Transfer-Encoding: 8bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrLJsWRmVeSWpSXmKPExsWy7bCmge6PvK44gyeLjSxWf3zMaNEyaxGL xdZb0hZnm96wW1zeNYfN4nPvEUaLzi+z2Cz+z3rOanG7cQWbxcf/zcwWP3fNY3Hg9jg/vZfN Y+esu+wevc3v2Dz6tqxi9Pi8Sc7j9rNtLAFsUdk2GamJKalFCql5yfkpmXnptkrewfHO8aZm Boa6hpYW5koKeYm5qbZKLj4Bum6ZOUDnKSmUJeaUAoUCEouLlfTtbIryS0tSFTLyi0tslVIL UnIKLAv0ihNzi0vz0vWS83OtDA0MjEyBChOyM04syyvYwlnx5cQExgbGE+xdjJwcEgImEmuf bmXtYuTiEBLYwSjRs3QfG4TziVHi3OeNUM43Ronvn84zwrQ8nbecBSKxl1Gi+/0cqKr3jBIf H70Bcjg4h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cYMNxOYX UJS4+uMxI4jNK2An8fJzI5jNIqAicW3qGTBbVCBMYueSx0wQNYISJ2c+YQGxOQWsJJ6s+ssC sUxd4s+8S8wQtrjErSfzmSBseYnmrbOZJzAKz0LSPgtJyywkLbOQtCxgZFnFKJlaUJybnlts WGCYl1quV5yYW1yal66XnJ+7iREce1qaOxgvL4k/xCjAwajEw8twuzNOiDWxrLgy9xCjBAez kgivVC9QiDclsbIqtSg/vqg0J7X4EKM0B4uSOO/TvGORQgLpiSWp2ampBalFMFkmDk6pBkbe aYsCnbPDxQ9+4PjPe108nDO1/2uOQPPul6aTQ43/W30vnL1Nc3MDa4i/Wdx/s8d3j95K39Fv 6nJzCuez3k/z3xzMKLrjUmVek2K5/t//xx3Om3/UWf8/8SZ+4xaWk8UPPC/fC5r169eS9XKz 31Uuq5O6Kr5EIsFYo8pYVv9bmt7/jlOHYyyVWIozEg21mIuKEwFq319kuQIAAA== X-CMS-MailID: 20200405235120epcas1p45e7a155cbceaeb44f40f60c14c1c7cba X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: SVC_REQ_APPROVE CMS-TYPE: 101P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20200404184602epcas1p1e0188779ade7c393f9e37a4757e1b6cc References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/5/20 3:45 AM, Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 4 Apr 2020 20:34:02 +0200 > > The function “platform_get_irq” can log an error already. > Thus omit a redundant message for the exception handling in the > calling function. > > This issue was detected by using the Coccinelle software. > > Signed-off-by: Markus Elfring > --- > drivers/devfreq/tegra30-devfreq.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > diff --git a/drivers/devfreq/tegra30-devfreq.c b/drivers/devfreq/tegra30-devfreq.c > index 28b2c7ca416e..93e6f4b25b04 100644 > --- a/drivers/devfreq/tegra30-devfreq.c > +++ b/drivers/devfreq/tegra30-devfreq.c > @@ -807,10 +807,9 @@ static int tegra_devfreq_probe(struct platform_device *pdev) > } > > err = platform_get_irq(pdev, 0); > - if (err < 0) { > - dev_err(&pdev->dev, "Failed to get IRQ: %d\n", err); > + if (err < 0) > return err; > - } > + > tegra->irq = err; > > irq_set_status_flags(tegra->irq, IRQ_NOAUTOEN); > -- > 2.26.0 > > > Applied it. Thanks. -- Best Regards, Chanwoo Choi Samsung Electronics