lkml.org 
[lkml]   [2006]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] 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 <jdmason@us.ibm.com>

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;
}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-03-14 02:11    [W:0.033 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site