diff options
author | Dave Airlie <airlied@linux.ie> | 2006-03-29 08:12:52 +1000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-03-29 08:12:52 +1000 |
commit | d2b58b58838159b2afdc624f74b208e8bd3c029e (patch) | |
tree | 9b99a59fee6e45796a4f881c519597e8fc36d664 /drivers | |
parent | f3dd5c37382472a8b245ad791ed768771594e60c (diff) |
drm: sis fix compile warning
Prevent a gcc warning in the SIS DRM driver. offset is a unsigned int and
the printk wants a long.
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/char/drm/sis_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/drm/sis_mm.c b/drivers/char/drm/sis_mm.c index 6774d2fe345..5e9936bc307 100644 --- a/drivers/char/drm/sis_mm.c +++ b/drivers/char/drm/sis_mm.c @@ -110,7 +110,7 @@ static int sis_fb_alloc(DRM_IOCTL_ARGS) DRM_COPY_TO_USER_IOCTL(argp, fb, sizeof(fb)); - DRM_DEBUG("alloc fb, size = %d, offset = %ld\n", fb.size, req.offset); + DRM_DEBUG("alloc fb, size = %d, offset = %d\n", fb.size, req.offset); return retval; } |