All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sis: Fix compile warning (trivial)
@ 2006-03-14  1:08 Jon Mason
  0 siblings, 0 replies; only message in thread
From: Jon Mason @ 2006-03-14  1:08 UTC (permalink / raw)
  To: airlied; +Cc: dri-devel, linux-kernel

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;
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-03-14  1:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-14  1:08 [PATCH] sis: Fix compile warning (trivial) Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.