Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -1
+1 -1
drivers/char/drm/sis_mm.c
··· 110 110 111 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 115 return retval; 116 116 }