diff options
| author | Alexey Khoroshilov <[email protected]> | 2018-01-19 21:53:15 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-01-25 14:10:36 +0000 |
| commit | 2d55807b7f7bf62bb05a8b91247c5eb7cd19ac04 (patch) | |
| tree | 686620593001ed539eed0205679fb7e88c8f70de /drivers/fpga/fpga-mgr.c | |
| parent | crypto: arm64/sha512 - fix/improve new v8.2 Crypto Extensions code (diff) | |
| download | kernel-2d55807b7f7bf62bb05a8b91247c5eb7cd19ac04.tar.gz kernel-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 <[email protected]>
Reviewed-by: Jamie Iles <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
