aboutsummaryrefslogtreecommitdiff
path: root/net/phonet/socket.c
diff options
context:
space:
mode:
authorGravatar Alexey Khoroshilov <khoroshilov@ispras.ru> 2018-01-20 00:53:15 +0300
committerGravatar Herbert Xu <herbert@gondor.apana.org.au> 2018-01-26 01:10:36 +1100
commit2d55807b7f7bf62bb05a8b91247c5eb7cd19ac04 (patch)
tree686620593001ed539eed0205679fb7e88c8f70de /net/phonet/socket.c
parentcrypto: arm64/sha512 - fix/improve new v8.2 Crypto Extensions code (diff)
downloadlinux-2d55807b7f7bf62bb05a8b91247c5eb7cd19ac04.tar.gz
linux-2d55807b7f7bf62bb05a8b91247c5eb7cd19ac04.tar.bz2
linux-2d55807b7f7bf62bb05a8b91247c5eb7cd19ac04.zip
crypto: picoxcell - Fix error handling in spacc_probe()
If clk_get() fails, device_remove_file() looks inappropriate. The error path, where all crypto_register fail, misses resource deallocations. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Reviewed-by: Jamie Iles <jamie@jamieiles.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/phonet/socket.c')
0 files changed, 0 insertions, 0 deletions