diff options
author | Qianfeng Rong <rongqianfeng@vivo.com> | 2025-09-04 20:36:46 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-09-05 17:38:39 -0400 |
commit | cbda64f3f58027f68211dda8ea94d52d7e493995 (patch) | |
tree | 1e46ce7ac342df21e6299139c75e71da86462a79 /drivers/gpu/drm/amd/amdgpu/mes_userqueue.c | |
parent | 94bd7bf2c920998b4c756bc8a54fd3dbdf7e4360 (diff) |
drm/amdkfd: Fix error code sign for EINVAL in svm_ioctl()
Use negative error code -EINVAL instead of positive EINVAL in the default
case of svm_ioctl() to conform to Linux kernel error code conventions.
Fixes: 42de677f7999 ("drm/amdkfd: register svm range")
Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mes_userqueue.c')
0 files changed, 0 insertions, 0 deletions