summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorLuís Henriques <lhenriques@suse.de>2022-11-09 18:14:45 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-01-07 11:12:01 +0100
commitdad6a26adb5ae452cc771f937b268cd6bf1de778 (patch)
tree58efdc2cbff19b588e5079e04e43fde07b284877 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentc99932c83074ef9320cac48aab085adb1a1144c3 (diff)
ext4: fix error code return to user-space in ext4_get_branch()
commit 26d75a16af285a70863ba6a81f85d81e7e65da50 upstream. If a block is out of range in ext4_get_branch(), -ENOMEM will be returned to user-space. Obviously, this error code isn't really useful. This patch fixes it by making sure the right error code (-EFSCORRUPTED) is propagated to user-space. EUCLEAN is more informative than ENOMEM. Signed-off-by: Luís Henriques <lhenriques@suse.de> Link: https://lore.kernel.org/r/20221109181445.17843-1-lhenriques@suse.de Signed-off-by: Theodore Ts'o <tytso@mit.edu> Cc: stable@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions