Commit cbda64f3 authored by Qianfeng Rong's avatar Qianfeng Rong Committed by Alex Deucher
Browse files

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: 42de677f ("drm/amdkfd: register svm range")
Signed-off-by: default avatarQianfeng Rong <rongqianfeng@vivo.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 94bd7bf2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment