diff options
| author | Wei Yongjun <[email protected]> | 2018-01-17 11:24:26 +0000 |
|---|---|---|
| committer | Mike Snitzer <[email protected]> | 2018-01-17 14:10:55 +0000 |
| commit | 3cc2e57c4beabcbbaa46e1ac6d77ca8276a4a42d (patch) | |
| tree | 7db3f8e05972588e2a9c71821f05c5aa4005bf1d /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
| parent | dm crypt: wipe kernel key copy after IV initialization (diff) | |
| download | kernel-3cc2e57c4beabcbbaa46e1ac6d77ca8276a4a42d.tar.gz kernel-3cc2e57c4beabcbbaa46e1ac6d77ca8276a4a42d.zip | |
dm crypt: fix error return code in crypt_ctr()
Fix to return error code -ENOMEM from the mempool_create_kmalloc_pool()
error handling case instead of 0, as done elsewhere in this function.
Fixes: ef43aa38063a6 ("dm crypt: add cryptographic data integrity protection (authenticated encryption)")
Cc: [email protected] # 4.12+
Signed-off-by: Wei Yongjun <[email protected]>
Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions
