summaryrefslogtreecommitdiff
path: root/linux-core/via_fence.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/via_fence.c')
-rw-r--r--linux-core/via_fence.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/via_fence.c b/linux-core/via_fence.c
index a8db3d12..a6d4ece9 100644
--- a/linux-core/via_fence.c
+++ b/linux-core/via_fence.c
@@ -142,7 +142,7 @@ int via_fence_emit_sequence(struct drm_device * dev, uint32_t class, uint32_t fl
*native_type = DRM_FENCE_TYPE_EXE;
break;
default:
- ret = DRM_ERR(EINVAL);
+ ret = -EINVAL;
break;
}
return ret;