projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39df01c
)
drm: radeon: fix printk format warning
author
Randy Dunlap
<rdunlap@xenotime.net>
Tue, 16 Oct 2012 00:15:45 +0000
(10:15 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Tue, 16 Oct 2012 00:15:45 +0000
(10:15 +1000)
drivers/gpu/drm/radeon/radeon_atpx_handler.c:151:3: warning: format '%lu' expects type 'long unsigned int', but argument 2 has type 'size_t'
[airlied: Alex had others fixed already, except for atpx one]
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_atpx_handler.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_atpx_handler.c
b/drivers/gpu/drm/radeon/radeon_atpx_handler.c
index
582e994
..
1aa3f91
100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_atpx_handler.c
+++ b/
drivers/gpu/drm/radeon/radeon_atpx_handler.c
@@
-148,7
+148,7
@@
static int radeon_atpx_verify_interface(struct radeon_atpx *atpx)
size = *(u16 *) info->buffer.pointer;
if (size < 8) {
- printk("ATPX buffer is too small: %
l
u\n", size);
+ printk("ATPX buffer is too small: %
z
u\n", size);
err = -EINVAL;
goto out;
}