Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4331678ybe; Mon, 9 Sep 2019 07:49:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFz+prDh9n8zb+1aTLySmTbNKxh7znPfSt/zJ6pyUc/N3kl94Oq2KrR+NBiPnC4N+wNorg X-Received: by 2002:a17:906:e0d9:: with SMTP id gl25mr20018372ejb.101.1568040566768; Mon, 09 Sep 2019 07:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568040566; cv=none; d=google.com; s=arc-20160816; b=IzSAS7YlBcOBEBWnFVQR1/oO02H7ZxlUL6wIjFXGx6+ezdQd9dp/q3AAzSmsA2YjJh rmVM6/zGeb1CCAl1uSht2vpnUtpatkDwfPv4zNv2OZdtdYSPgX+cNtrBA2UtMtZy6tTl iYtKVLHX/RwZZg6UepR/iV68e501scgH/Ytzp6qsXJj9ahpnyTm7mLRKfeInrVaBlcg1 lqDxyxXZ0nCwgp4VQGYSoQ0g3Ke4Mrmrz6UDrErNhKXshVm7PcqBhzL36WlV+5lZxgHg OgfaCS6uyqauWQtSZfE2ilsvNq5TwjO3X7jqnJ/x0MRjVrM/MroqYwhc6GsXHYWr5qIU 45Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Mp7cypB6UzTeWOW3n+xG0B4dy97KFUZE1x4YwR9fDm0=; b=0CDToPMDIOwBy6PfkdL1A1SoiAj0dgZSMMB0ajY2PbQh0Z9M22DM3wiysnzoJT+QB3 k5hdt25JIGKdrASnX7lwMitazMCKHvJWKUzZNA6BSWhhL9GFa6ols8atGXj69F1v1pDO Ixfzhq2l27vMWLuPim/3fdeBz8j7JOmU8/x+Do1yyqX9EimtdNV/71+bLTRCw9jnwFR4 I76lsKT7+4/5+OC3ihtPt6hYqnp5yOuqajJnN7fI4tu0d9exNVpG+ttyAIm4FcXWcoPy VJj9jcl8Z8l6YHm8xZ/Ran6uNLrGz/eFchclGOFKCmQxB4LYOMXSWwZVGfLctGTFDjAo p/9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w20si9233901edc.202.2019.09.09.07.49.01; Mon, 09 Sep 2019 07:49:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388393AbfIIHtB (ORCPT + 99 others); Mon, 9 Sep 2019 03:49:01 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:32872 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388389AbfIIHtB (ORCPT ); Mon, 9 Sep 2019 03:49:01 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.89 #2 (Debian)) id 1i7EPp-0007Z9-9K; Mon, 09 Sep 2019 17:48:50 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Mon, 09 Sep 2019 17:48:44 +1000 Date: Mon, 9 Sep 2019 17:48:44 +1000 From: Herbert Xu To: zhong jiang Cc: davem@davemloft.net, catalin.marinas@arm.com, will@kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] crypto: arm64: Use PTR_ERR_OR_ZERO rather than its implementation. Message-ID: <20190909074844.GA21364@gondor.apana.org.au> References: <1567493656-19916-1-git-send-email-zhongjiang@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1567493656-19916-1-git-send-email-zhongjiang@huawei.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, Sep 03, 2019 at 02:54:16PM +0800, zhong jiang wrote: > PTR_ERR_OR_ZERO contains if(IS_ERR(...)) + PTR_ERR. It is better to > use it directly. hence just replace it. > > Signed-off-by: zhong jiang > --- > arch/arm64/crypto/aes-glue.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt