Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752421AbdIVKQH (ORCPT ); Fri, 22 Sep 2017 06:16:07 -0400 Received: from orcrist.hmeau.com ([104.223.48.154]:38816 "EHLO deadmen.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752334AbdIVKQF (ORCPT ); Fri, 22 Sep 2017 06:16:05 -0400 Date: Fri, 22 Sep 2017 18:15:42 +0800 From: Herbert Xu To: Himanshu Jha Cc: davem@davemloft.net, arno@natisbad.org, boris.brezillon@free-electrons.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: Use PTR_ERR_ZERO Message-ID: <20170922101541.GO16270@gondor.apana.org.au> References: <1503814968-8798-1-git-send-email-himanshujha199640@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1503814968-8798-1-git-send-email-himanshujha199640@gmail.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 388 Lines: 11 On Sun, Aug 27, 2017 at 11:52:48AM +0530, Himanshu Jha wrote: > Use PTR_ERROR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. > Build successfully. > > Signed-off-by: Himanshu Jha Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt