[PATCH libdrm] amdgpu: use EINVAL instead of EBADMSG in amdgpu_bo_cpu_unmap()

2015-09-02 Thread Alex Deucher
On Tue, Sep 1, 2015 at 9:07 AM, Christian König wrote: > On 01.09.2015 13:37, Jonathan Gray wrote: >> >> 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 chec

[PATCH libdrm] amdgpu: use EINVAL instead of EBADMSG in amdgpu_bo_cpu_unmap()

2015-09-01 Thread Jonathan Gray
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. Signed-off-by: Jonathan Gray --- amdgpu/amdgpu_bo.c | 2 +- 1 file changed, 1 in

[PATCH libdrm] amdgpu: use EINVAL instead of EBADMSG in amdgpu_bo_cpu_unmap()

2015-09-01 Thread Christian König
On 01.09.2015 13:37, Jonathan Gray wrote: > 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. > > Signed-off-by: Jonathan Gray