Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1921123rwb; Fri, 11 Nov 2022 02:21:06 -0800 (PST) X-Google-Smtp-Source: AA0mqf5/ilgKYtEOC82FdXQXXalV+9J4aA3XKaTVWeWl8R1NjSg6Vs4SN0Jrqva5gUjYOxbY7AmG X-Received: by 2002:a17:906:7fd8:b0:7ad:902c:d1d6 with SMTP id r24-20020a1709067fd800b007ad902cd1d6mr1294279ejs.143.1668162066000; Fri, 11 Nov 2022 02:21:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668162065; cv=none; d=google.com; s=arc-20160816; b=Fk39iYIG4NCAfyfUMbVr09qKqUxKrsoB8u+HqMxFtEfbBP8qzmg16b8HnHKRVSK20t BiiNFLlNYgQdIvwWfZPSim/GWXoVcihTRvYgtArNHgL8fdtqVEDyAsLsXAUaWxDxrEPN voedsxHpytXIUwf+GrG04pNLKAeEuNwoyzkumsLefWni8aBTBFlubvk5IgerNA7udRCW fPubc5DeiDsVix2xx2CeRKRGMxhF7OxEVhlua0FAm3m7Qcd8WY59rIkOzH+AcXWJnumW wyjaCqfXIrbo5bNsFzYUuSKO79oUgdMFFAiSm8aVRt42v1C0jNt8v/XmK4qG7JhPV/pX PtLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=yXtkg1/N7HBK8GnsD+C8HcgAO/Elds8AxQrkw+bmw/w=; b=OATto/ZhAJNgEELqGINE1R68boeqqDVhXGue4AjPlkJjWinN+89DKTsuZIpO2AespB fiW7GHuBbmmnLwxRXKCDI8wW/3pWhV57rlwHgoAqFyZ+6jkSmABn1TfAv3pjUifriyEw RFS3/RHrWQgfc74/5e7Gos4WBJTf+0wA9y/S5LbAYZWM4kJUIKshFgoa0nf9vvwS/3T7 YAGv1UwmYP0TeOKc6/DvPmLXc1YSdHgrGws4fa/R3QCRZY1/BQUFumyZM+fG5CAxFc44 S+iv2iwJYtdic6k0uFlsO0tLT77sBbvyaiuvY3zpb84YrvEXuPs4he9fXybvMn4RE8BG 6NeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hs19-20020a1709073e9300b007ae72eabbcbsi1827802ejc.824.2022.11.11.02.20.42; Fri, 11 Nov 2022 02:21:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-crypto-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; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233493AbiKKKSr (ORCPT + 99 others); Fri, 11 Nov 2022 05:18:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54096 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233373AbiKKKSI (ORCPT ); Fri, 11 Nov 2022 05:18:08 -0500 Received: from formenos.hmeau.com (helcar.hmeau.com [216.24.177.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1CC1A87B13; Fri, 11 Nov 2022 02:17:54 -0800 (PST) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1otR6V-00Cyuz-KW; Fri, 11 Nov 2022 18:17:44 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Fri, 11 Nov 2022 18:17:43 +0800 Date: Fri, 11 Nov 2022 18:17:43 +0800 From: Herbert Xu To: Yang Li Cc: clabbe@baylibre.com, davem@davemloft.net, heiko@sntech.de, linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, Abaci Robot Subject: Re: [PATCH -next v2] crypto: rockchip: Remove surplus dev_err() when using platform_get_irq() Message-ID: References: <20221104074527.37353-1-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221104074527.37353-1-yang.lee@linux.alibaba.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS 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-crypto@vger.kernel.org On Fri, Nov 04, 2022 at 03:45:27PM +0800, Yang Li wrote: > There is no need to call the dev_err() function directly to print a > custom message when handling an error from either the platform_get_irq() > or platform_get_irq_byname() functions as both are going to display an > appropriate error message in case of a failure. > > ./drivers/crypto/rockchip/rk3288_crypto.c:351:2-9: line 351 is > redundant because platform_get_irq() already prints an error > > Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2677 > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > > change in v2: > --According to Corentin's suggestion, make the subject started by "crypto: rockchip:". > > drivers/crypto/rockchip/rk3288_crypto.c | 1 - > 1 file changed, 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt