diff options
author | Srinivasan Shanmugam <srinivasan.shanmugam@amd.com> | 2023-07-26 19:40:27 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-07-27 14:59:30 -0400 |
commit | db996e64b293a3452cd26f5de22004f3d26f215f (patch) | |
tree | 1b06708976f57ffd3368884c5712f510e2b0a92f /drivers/gpu/drm/tidss/tidss_plane.h | |
parent | efd9d065de6733c52b24ecb676ddd94446d1fe11 (diff) |
drm/radeon: Fix ENOSYS with better fitting error codes in radeon_gem.c
Replace the error code from 'ENOSYS' to 'EOPNOTSUPP' for unimplemented
radeon_gem_pread_ioctl & radeon_gem_pwrite_ioctl
Fixes the following:
WARNING: ENOSYS means 'invalid syscall nr' and nothing else.
Cc: Christian König <christian.koenig@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/tidss/tidss_plane.h')
0 files changed, 0 insertions, 0 deletions