aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorChristophe Jaillet <[email protected]>2017-06-11 07:12:47 +0000
committerSteve French <[email protected]>2017-06-21 05:09:28 +0000
commit517a6e43c4872c89794af5b377fa085e47345952 (patch)
tree4abc165240c6f48044e475c58609202fb5fe16a4 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parentcifs: remove redundant return in cifs_creation_time_get (diff)
downloadkernel-517a6e43c4872c89794af5b377fa085e47345952.tar.gz
kernel-517a6e43c4872c89794af5b377fa085e47345952.zip
CIFS: Fix some return values in case of error in 'crypt_message'
'rc' is known to be 0 at this point. So if 'init_sg' or 'kzalloc' fails, we should return -ENOMEM instead. Also remove a useless 'rc' in a debug message as it is meaningless here. Fixes: 026e93dc0a3ee ("CIFS: Encrypt SMB3 requests before sending") Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Pavel Shilovsky <[email protected]> Reviewed-by: Aurelien Aptel <[email protected]> Signed-off-by: Steve French <[email protected]> CC: Stable <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions