Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp5906966iob; Tue, 10 May 2022 06:29:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAJeheKDvVHEBiRBd37yTzqm9jd/6ILk0/p7x6jijsnuTvHTxQI48gvqnIZsjrNBBcOD0J X-Received: by 2002:a05:6402:42c4:b0:426:a7a8:348f with SMTP id i4-20020a05640242c400b00426a7a8348fmr23587474edc.341.1652189360205; Tue, 10 May 2022 06:29:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652189360; cv=none; d=google.com; s=arc-20160816; b=y3m+7MHfHQkeqCN1lrmLtD9aR8kv4bYT0tDHULI9438b6BBbe81Jmang9unhp3SQXN PZsy1QS96XyQIr16p1b76Hq3KV5biw44h4tYi4PHHSx5pAv+foGvyKlhMWkmvbDAXbJ4 1EDiqFMlYX7ie7eaZ1ODWxzAwkPVS4hSpT25toSWzUEiEULECN5q1CKe6hYaIJ+n8U97 Y1mKbT3LhqdxGSMGdl8u7tWY7ZaPAt9MfpgV5oXKA+qvUPHtR2riwddvLhC2TNHwmJS8 N7bJuDPjRkFbepMItlf05cRLop9KaclIFbyYVOfyumTWgRgNG+k4OiSACecCrrH5svz/ GXfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=qm5RREdXQYpD9UHeciW2nIxgirPQgGEeBKiqx8FamVc=; b=h54+MOJq+BVuF59FZRSEqSl7CLMNzbxYBmtMyp4hIJuo8Z/iwNqn5ArZ6UlYCw6sEP I8hMenYAJFLkzB2j5WQH1NO0BtFd0j89bI7+iI90z34LqTFTnwl9TssSVIxf5yMiFBmZ Lb57qkJt/WMcCPmxG8cuxsnAnZtqchgihIkLMAbWtMjaCLm3iUQXr3nQNTcDlwjWEWkD 51ELy1RIT711pMHoaV1cIMzKZQI8tueblyI6OedXGatL+UD3PrVRQK57lFG0OypcNvj3 KTnlx0YhyihL8U5WdSj7cHEIO/Iy5HmEJ2plEInWj5mpnR5MUem+yA3GbBGNeuhljLD5 4GAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=efU5E2c+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f42-20020a05640232aa00b00428af6ea286si3553144eda.363.2022.05.10.06.28.55; Tue, 10 May 2022 06:29:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=efU5E2c+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239081AbiEJJx5 (ORCPT + 99 others); Tue, 10 May 2022 05:53:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53272 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239300AbiEJJxz (ORCPT ); Tue, 10 May 2022 05:53:55 -0400 Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BAF9E2A18BD for ; Tue, 10 May 2022 02:49:58 -0700 (PDT) Received: by mail-wr1-x42b.google.com with SMTP id c11so22962138wrn.8 for ; Tue, 10 May 2022 02:49:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=qm5RREdXQYpD9UHeciW2nIxgirPQgGEeBKiqx8FamVc=; b=efU5E2c+QJFiheymKzvrh090KLPPHIS0arcOJx/Bb75Oj2COjqe/Yqmuol7AQna1Yf 5zmuJ3pG0sehWYpBbumWjxmLp0mpfoYj1TrUb8AMsPFIhoZCljEU9T+7XdvE5K3InNDj Nm00jEsKJu8JvvQ7ebG722Un6xcxu+nR6mOWh84UXxgkvlyVOtD3UrDiCYSUTNNpXi8R 0NJx/qAPlQDHthJI9/qYDjDES4vYVUXAoT9J2bcP20b+XvA3AGQYUQoMcuPiADGW2eFU JkJok6xFmy5rGJAqiUyjiOsjVDtJzqjI3AeM7Ueu+So1M0OlzTsOXSr+AEEiZXKyjoUx thyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=qm5RREdXQYpD9UHeciW2nIxgirPQgGEeBKiqx8FamVc=; b=07Khnr1iWbcwQ9S5dZg7+ID1tCMtBuB+XZOLsouZDWZAS0sjG4j+JhYHDeePw1SyIc B6n4H3S0XNUViKst7DNPWau9rJwhQVjoQ/cjDwktCsmH98Nx6PpgfmkxpKotrPd2cLZB 7eA5Ddhf+kTy0zmbAqEpBiI2QnROUkzC8VN3EX4U6PmKwaz3lI/Uyo2m5v6yQScyOta1 tbqpBEsykg6eRgJKkX0TRaECIDx29XHo97BeB2CWizcd/YtWgKgACmBRLmnarLV1Ljgf 0rQwlikJO81N+y3c8oGhWkKP8aOvB70jePp/Ofaqa0c3lVadZLCyyvWc+zwjZ33E6p2Y yaVg== X-Gm-Message-State: AOAM531UOyfAbcGpzacbO8MJG4VDhxgrZq+48IGh8rPjb/J/TeBNMGVG 4u8ydbX/xI6ZzuIEn8AIkaIbfA== X-Received: by 2002:adf:e104:0:b0:206:109a:c90f with SMTP id t4-20020adfe104000000b00206109ac90fmr17781979wrz.259.1652176197268; Tue, 10 May 2022 02:49:57 -0700 (PDT) Received: from [192.168.86.34] (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.googlemail.com with ESMTPSA id m7-20020adffa07000000b0020cb42671aasm8877630wrr.105.2022.05.10.02.49.56 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 10 May 2022 02:49:56 -0700 (PDT) Message-ID: <3cf688f6-63b3-3860-db25-c63733b33ef1@linaro.org> Date: Tue, 10 May 2022 10:49:55 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH 2/2] slimbus: qcom: Remove unnecessary print function dev_err() Content-Language: en-US To: Greg KH Cc: linux-kernel@vger.kernel.org, Yang Li , Abaci Robot References: <20220429165051.6187-1-srinivas.kandagatla@linaro.org> <20220429165051.6187-3-srinivas.kandagatla@linaro.org> From: Srinivas Kandagatla In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 09/05/2022 14:42, Greg KH wrote: > On Fri, Apr 29, 2022 at 05:50:51PM +0100, Srinivas Kandagatla wrote: >> From: Yang Li >> >> The print function dev_err() is redundant because >> platform_get_irq_byname() already prints an error. >> >> Eliminate the follow coccicheck warning: >> ./drivers/slimbus/qcom-ctrl.c:514:2-9: line 514 is redundant because >> platform_get_irq() already prints an error >> >> Reported-by: Abaci Robot >> Signed-off-by: Yang Li >> Signed-off-by: Srinivas Kandagatla >> --- >> drivers/slimbus/qcom-ctrl.c | 4 +--- >> 1 file changed, 1 insertion(+), 3 deletions(-) >> >> diff --git a/drivers/slimbus/qcom-ctrl.c b/drivers/slimbus/qcom-ctrl.c >> index ec58091fc948..c0c4f895d76e 100644 >> --- a/drivers/slimbus/qcom-ctrl.c >> +++ b/drivers/slimbus/qcom-ctrl.c >> @@ -510,10 +510,8 @@ static int qcom_slim_probe(struct platform_device *pdev) >> } >> >> ctrl->irq = platform_get_irq(pdev, 0); >> - if (ctrl->irq < 0) { >> - dev_err(&pdev->dev, "no slimbus IRQ\n"); >> + if (ctrl->irq < 0) >> return ctrl->irq; >> - } >> >> sctrl = &ctrl->ctrl; >> sctrl->dev = &pdev->dev; >> -- >> 2.21.0 >> > > Does not apply to my tree :( Sorry my bad.. I see there was a depended fix[1] that needs to go in first. I was hoping that that will be applied first.. Let me resend them together in v2. [1] https://lkml.org/lkml/2022/4/29/1093 Thanks, srini > >