projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3dd5c3
)
drm: sis fix compile warning
author
Dave Airlie
<airlied@linux.ie>
Tue, 28 Mar 2006 22:12:52 +0000
(08:12 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Tue, 28 Mar 2006 22:12:52 +0000
(08:12 +1000)
Prevent a gcc warning in the SIS DRM driver. offset is a unsigned int and
the printk wants a long.
Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/sis_mm.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/drm/sis_mm.c
b/drivers/char/drm/sis_mm.c
index 6774d2fe3452c22931e6bc1e288c07329099e6f6..5e9936bc307fc21d7a321fae5e1ce2377182aee6 100644
(file)
--- a/
drivers/char/drm/sis_mm.c
+++ b/
drivers/char/drm/sis_mm.c
@@
-110,7
+110,7
@@
static int sis_fb_alloc(DRM_IOCTL_ARGS)
DRM_COPY_TO_USER_IOCTL(argp, fb, sizeof(fb));
- DRM_DEBUG("alloc fb, size = %d, offset = %
l
d\n", fb.size, req.offset);
+ DRM_DEBUG("alloc fb, size = %d, offset = %d\n", fb.size, req.offset);
return retval;
}