sis: Fix compile warning (trivial)
PATCH 1/1 sis: Fix compile warning (trivial)
Trivial patch to prevent a gcc warning in the SIS DRM driver. offset is a unsigned int and the printk wants a long.
Thanks,
Jon
Signed-off-by Jon Mason <[email protected]>
drivers/char/drm/sis_mm.c +1 -1
@@ -110,7 +110,7 @@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; }