summaryrefslogtreecommitdiff
path: root/bsd-core/drm_dma.c
diff options
context:
space:
mode:
authorvehemens <vehemens@verizon.net>2007-08-13 10:17:47 -0700
committerEric Anholt <eric@anholt.net>2007-08-13 11:36:10 -0700
commit4340f49bf79a5421886363e08501ad347973b083 (patch)
treeb5d05d0938bc52c4e171f504f89c426c5f698298 /bsd-core/drm_dma.c
parentd6a45ebf0ee47c31f560f3072a4b70c4039e454a (diff)
Bug #11951: Fix an errno sign inversion on pre-FreeBSD 5.
Also, annotate where signs change, to hopefully remind the reader of these issues in the future.
Diffstat (limited to 'bsd-core/drm_dma.c')
-rw-r--r--bsd-core/drm_dma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd-core/drm_dma.c b/bsd-core/drm_dma.c
index fc1e1250..4896cf22 100644
--- a/bsd-core/drm_dma.c
+++ b/bsd-core/drm_dma.c
@@ -121,6 +121,7 @@ int drm_dma(drm_device_t *dev, void *data, struct drm_file *file_priv)
{
if (dev->driver.dma_ioctl) {
+ /* shared code returns -errno */
return -dev->driver.dma_ioctl(dev, data, file_priv);
} else {
DRM_DEBUG("DMA ioctl on driver with no dma handler\n");