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]> diff -r 96b636489b54 drivers/char/drm/sis_mm.c --- a/drivers/char/drm/sis_mm.c Sat Mar 11 18:29:09 2006 +++ b/drivers/char/drm/sis_mm.c Sun Mar 12 11:03:57 2006 @@ -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; } ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel