commit | 32e67b9af077e905388f1746bf429ea0c39b6917 | [log] [tgz] |
---|---|---|
author | Christophe Jaillet <christophe.jaillet@wanadoo.fr> | Wed Aug 16 07:16:06 2017 +0200 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Tue Aug 22 14:54:55 2017 +0800 |
tree | 5c62e6556aa684e94d7f05ff193be8e956436681 | |
parent | b7d65fe18129e2f557c31126fe6623e8c2731528 [diff] |
crypto: cavium/nitrox - Fix an error handling path in 'nitrox_probe()' '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> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>