Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp403936ybl; Wed, 11 Dec 2019 01:31:49 -0800 (PST) X-Google-Smtp-Source: APXvYqzVG47BkmqstjPzGXqOzNNcExfLKA3Qp6x9ET7lHYOPh+pV+SYhb5H3ywruBjRA/ffBRRrX X-Received: by 2002:a05:6808:681:: with SMTP id k1mr2051632oig.117.1576056709145; Wed, 11 Dec 2019 01:31:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576056709; cv=none; d=google.com; s=arc-20160816; b=dl+acl9T5Y0VTUk/nNvCyier/n1WhW1Hjm1QNY17ACXiuETb4n9sWjXAhHFXnS68uQ 8HoEIU9y4TT0fo2OlQv2i1BTz6OIyGdpcjkQHQskXYG0GgviPCCOtvVrf0OFqM0sK678 akhIspnbShgATAWc78wfTl/kkvcw5hmWKFd/BiFZ1z9Aq6jeXnEj9svIA629ie4qltu2 kTj+xkOlBtUWgROYnU+SLYuIib/HYJ6MQc1tsVGGU3nSlvvxOd7uiyV4jA5S2r170+MW 3ZgU4k6FVCZEiczyR+HEs3H/0OPTkg44+XamTY32vVty3euQhwuew1Sm6CTrdTx9saYL bqWA== 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=XCxtgWCO6ae0N+qIOHE4KZdF9yMWyFmdxy7xiFbahCQ=; b=BAhNbsNNY1d0XO3m/Rz1I1Nalo/Gmf0q2mO3lridcMaQpO4X1JUl/bjqSFmA8m9tNt x+2b7zoywdUdfL4xHK6WpyRF3f+i/oJXBNZ8kJou12S5v63tpEEypFKin48mnNCOmPRT wmHm+EvS4/Xm89JVA9pQkThDNP4g4lr9g87z5GATr1bSovHcqx+8nJBK+10MOjbgLIej /a1SNyZCjN0+yfzYnYATn1CVH4lI0GxOnc2jyDkFmPCtytY3YcW7BVd/y8clKxAum43k RHqprYKiKbTgSBZE0asA7Ma7T55tx27HI9bcyY6lmLSpiJ2uSdEwBTW6dX5XCsnT5wvw yVow== 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 73si763683otj.82.2019.12.11.01.31.36; Wed, 11 Dec 2019 01:31:49 -0800 (PST) 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 S1728104AbfLKJbf (ORCPT + 99 others); Wed, 11 Dec 2019 04:31:35 -0500 Received: from helcar.hmeau.com ([216.24.177.18]:53604 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727851AbfLKJbf (ORCPT ); Wed, 11 Dec 2019 04:31:35 -0500 Received: from gondobar.mordor.me.apana.org.au ([192.168.128.4] helo=gondobar) by deadmen.hmeau.com with esmtps (Exim 4.89 #2 (Debian)) id 1ieyL9-0008HU-OZ; Wed, 11 Dec 2019 17:31:27 +0800 Received: from herbert by gondobar with local (Exim 4.89) (envelope-from ) id 1ieyL5-0006jO-HF; Wed, 11 Dec 2019 17:31:23 +0800 Date: Wed, 11 Dec 2019 17:31:23 +0800 From: Herbert Xu To: zhengbin Cc: antoine.tenart@bootlin.com, davem@davemloft.net, linux-crypto@vger.kernel.org Subject: Re: [PATCH -next] crypto: inside-secure: Use PTR_ERR_OR_ZERO() to simplify code Message-ID: <20191211093123.ppwhycxzdvssgp6a@gondor.apana.org.au> References: <1574074436-32134-1-git-send-email-zhengbin13@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1574074436-32134-1-git-send-email-zhengbin13@huawei.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Mon, Nov 18, 2019 at 06:53:56PM +0800, zhengbin wrote: > Fixes coccicheck warning: > > drivers/crypto/inside-secure/safexcel_cipher.c:2534:1-3: WARNING: PTR_ERR_OR_ZERO can be used > > Reported-by: Hulk Robot > Signed-off-by: zhengbin > --- > drivers/crypto/inside-secure/safexcel_cipher.c | 5 +---- > 1 file changed, 1 insertion(+), 4 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