From: Herbert Xu Subject: Re: [patch] crypto: chcr - checking for IS_ERR() instead of NULL Date: Wed, 7 Dec 2016 20:07:29 +0800 Message-ID: <20161207120729.GA20680@gondor.apana.org.au> References: <20161201204937.GA10701@mwanda> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "David S. Miller" , Harsh Jain , Jitendra Lulla , Atul Gupta , Hariprasad Shenai , Wei Yongjun , linux-crypto@vger.kernel.org, kernel-janitors@vger.kernel.org To: Dan Carpenter Return-path: Content-Disposition: inline In-Reply-To: <20161201204937.GA10701@mwanda> Sender: kernel-janitors-owner@vger.kernel.org List-Id: linux-crypto.vger.kernel.org On Thu, Dec 01, 2016 at 11:49:37PM +0300, Dan Carpenter wrote: > The create_hash_wr() function never returns error pointers. It returns > NULL on error. > > Fixes: 358961d1cd1e ("crypto: chcr - Added new structure chcr_wr") > Signed-off-by: Dan Carpenter Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt