From: Jon Mason <jdmason@us.ibm.com>
To: airlied@linux.ie
Cc: dri-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: [PATCH] sis: Fix compile warning (trivial)
Date: Mon, 13 Mar 2006 19:08:57 -0600 [thread overview]
Message-ID: <20060314010857.GF1805@us.ibm.com> (raw)
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;
}
reply other threads:[~2006-03-14 1:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060314010857.GF1805@us.ibm.com \
--to=jdmason@us.ibm.com \
--cc=airlied@linux.ie \
--cc=dri-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox