mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
drm/amdkfd: Fix error code sign for EINVAL in svm_ioctl()
[ Upstream commitcbda64f3f5] 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:42de677f79("drm/amdkfd: register svm range") Signed-off-by: Qianfeng Rong <rongqianfeng@vivo.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
73ce2a774a
commit
52ba4bc4ca
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue