diff options
-rw-r--r-- | sys/dev/pci/drm/drm_bufs.c | 2 |
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: |