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


Groups > linux.kernel > #1717119

Re: [PATCH] crypto: cavium/nitrox - Fix an error handling path in 'nitrox_probe()'

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH] crypto: cavium/nitrox - Fix an error handling path in 'nitrox_probe()'
Date 2017-08-22 10:00 +0200
Message-ID <uhcgp-7KH-15@gated-at.bofh.it> (permalink)
References <ueYUh-2Ut-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Aug 16, 2017 at 07:16:06AM +0200, Christophe JAILLET wrote:
> 'err' is known to be 0 at this point.
> If 'kzalloc()' fails, returns -ENOMEM instead of 0 which means success.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>

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 | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] crypto: cavium/nitrox - Fix an error handling path in 'nitrox_probe()' Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2017-08-16 07:20 +0200
  Re: [PATCH] crypto: cavium/nitrox - Fix an error handling path in  'nitrox_probe()' Herbert Xu <herbert@gondor.apana.org.au> - 2017-08-22 10:00 +0200

csiph-web