diff options
author | Janga Rahul Kumar <janga.rahul.kumar@intel.com> | 2023-06-13 12:37:40 +0300 |
---|---|---|
committer | Rodrigo Vivi <rodrigo.vivi@intel.com> | 2023-12-21 19:34:42 +0300 |
commit | ee6ad13705286b19f5ffc19000b1d1574208efc9 (patch) | |
tree | 11fed69540435f0e6aac85aae43d5ec03240f63a /drivers/gpu/drm/xe/xe_wait_user_fence.c | |
parent | ab10e976fbda8349163ceee2ce99b2bfc97031b8 (diff) | |
download | linux-ee6ad13705286b19f5ffc19000b1d1574208efc9.tar.xz |
drm/Xe: Use EOPNOTSUPP instead of ENOTSUPP
ENOTSUPP is not a standard Unix error should use
EOPNOTSUPP instead.
v2: Update commit description (Aravind)
Reviewed-by: Aravind Iddamsetty <aravind.iddamsetty@intel.com>
Signed-off-by: Janga Rahul Kumar <janga.rahul.kumar@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Diffstat (limited to 'drivers/gpu/drm/xe/xe_wait_user_fence.c')
-rw-r--r-- | drivers/gpu/drm/xe/xe_wait_user_fence.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/xe/xe_wait_user_fence.c b/drivers/gpu/drm/xe/xe_wait_user_fence.c index 6c8a60c60087..3122374341d6 100644 --- a/drivers/gpu/drm/xe/xe_wait_user_fence.c +++ b/drivers/gpu/drm/xe/xe_wait_user_fence.c @@ -143,7 +143,7 @@ int xe_wait_user_fence_ioctl(struct drm_device *dev, void *data, if (XE_IOCTL_ERR(xe, !vm->async_ops.error_capture.addr)) { xe_vm_put(vm); - return -ENOTSUPP; + return -EOPNOTSUPP; } addr = vm->async_ops.error_capture.addr; |