Skip to content
Commit 949c325c authored by Jonathan Gray's avatar Jonathan Gray Committed by Alex Deucher
Browse files

amdgpu: use EINVAL instead of EBADMSG in amdgpu_bo_cpu_unmap()



EBADMSG is a streams errno.  OpenBSD does not implement streams and does
include the streams errnos, this commit fixes the build on OpenBSD.

None of the callers of this function check the return value for -EBADMSG.

Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarJonathan Gray <jsg@jsg.id.au>
parent f17017b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment