diff options
author | Dave Airlie <airlied@linux.ie> | 2006-03-28 17:12:52 -0500 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2006-03-28 17:12:52 -0500 |
commit | d2b58b58838159b2afdc624f74b208e8bd3c029e (patch) | |
tree | 9b99a59fee6e45796a4f881c519597e8fc36d664 | |
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>
-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 6774d2fe3452..5e9936bc307f 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) | |||
110 | 110 | ||
111 | DRM_COPY_TO_USER_IOCTL(argp, fb, sizeof(fb)); | 111 | DRM_COPY_TO_USER_IOCTL(argp, fb, sizeof(fb)); |
112 | 112 | ||
113 | DRM_DEBUG("alloc fb, size = %d, offset = %ld\n", fb.size, req.offset); | 113 | DRM_DEBUG("alloc fb, size = %d, offset = %d\n", fb.size, req.offset); |
114 | 114 | ||
115 | return retval; | 115 | return retval; |
116 | } | 116 | } |