From: Dave Airlie Date: Tue, 28 Mar 2006 22:12:52 +0000 (+1000) Subject: drm: sis fix compile warning X-Git-Tag: v2.6.17-rc1~147^2~1 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d2b58b58838159b2afdc624f74b208e8bd3c029e;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Andrew Morton Signed-off-by: Dave Airlie --- 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; }