Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1668817

Re: [PATCH] drivers/crypto/ccp: return NULL instead of 0

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH] drivers/crypto/ccp: return NULL instead of 0
Date 2017-06-19 08:40 +0200
Message-ID <tTYvT-7uN-13@gated-at.bofh.it> (permalink)
References <tCTLX-80o-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, May 03, 2017 at 09:32:09AM +0530, Pushkar Jambhlekar wrote:
> This change is to handle sparse warning. Return type of function is a pointer to the structure and
> it returns 0. Instead it should return NULL.
> 
> Signed-off-by: Pushkar Jambhlekar <pushkar.iit@gmail.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] drivers/crypto/ccp: return NULL instead of 0 Herbert Xu <herbert@gondor.apana.org.au> - 2017-06-19 08:40 +0200

csiph-web