summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2009-03-20 09:35:20 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2009-03-20 09:35:20 +0000
commit8f59db0d17f07fc6ce24afa8af4713c585ef09a0 (patch)
tree89b2b99b711695cfeeb5c8ec9060bde95ced7df3 /sys/dev
parentbb4e95d7d5473f797f6f8b20c71438cdc7cbaf40 (diff)
Minor style nit; rnoland (freebsd).
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/drm_bufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_bufs.c b/sys/dev/pci/drm/drm_bufs.c
index eb1cd0383e3..3c95734e9e7 100644
--- a/sys/dev/pci/drm/drm_bufs.c
+++ b/sys/dev/pci/drm/drm_bufs.c
@@ -190,7 +190,7 @@ drm_addmap(struct drm_device * dev, unsigned long offset, unsigned long size,
drm_free(map, sizeof(*map), DRM_MEM_MAPS);
return (EINVAL);
}
- map->offset = map->offset + dev->sg->handle;
+ map->offset += dev->sg->handle;
break;
case _DRM_SHM:
case _DRM_CONSISTENT: