aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorOndrej Mosnacek <[email protected]>2023-10-31 12:32:06 +0000
committerPaul Moore <[email protected]>2023-11-08 20:39:42 +0000
commit866d648059d5faf53f1cd960b43fe8365ad93ea7 (patch)
treeb1dcd433059b82bb916ed1bfc155f6e1ee644a8f /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentlsm: fix a spelling mistake (diff)
downloadkernel-866d648059d5faf53f1cd960b43fe8365ad93ea7.tar.gz
kernel-866d648059d5faf53f1cd960b43fe8365ad93ea7.zip
lsm: fix default return value for vm_enough_memory
1 is the return value that implements a "no-op" hook, not 0. Cc: [email protected] Fixes: 98e828a0650f ("security: Refactor declaration of LSM hooks") Signed-off-by: Ondrej Mosnacek <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions