summaryrefslogtreecommitdiffstats
path: root/crypto/af_alg.c
diff options
context:
space:
mode:
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>2017-08-16 07:16:06 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-08-22 08:54:55 +0200
commit32e67b9af077e905388f1746bf429ea0c39b6917 (patch)
tree5c62e6556aa684e94d7f05ff193be8e956436681 /crypto/af_alg.c
parentcrypto: inside-secure - fix an error handling path in safexcel_probe() (diff)
downloadlinux-32e67b9af077e905388f1746bf429ea0c39b6917.tar.xz
linux-32e67b9af077e905388f1746bf429ea0c39b6917.zip
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>
Diffstat (limited to 'crypto/af_alg.c')
0 files changed, 0 insertions, 0 deletions