From 8f59db0d17f07fc6ce24afa8af4713c585ef09a0 Mon Sep 17 00:00:00 2001 From: Owain Ainsworth Date: Fri, 20 Mar 2009 09:35:20 +0000 Subject: Minor style nit; rnoland (freebsd). --- sys/dev/pci/drm/drm_bufs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3