* [PATCH -next] fb: metronome printk format warning
@ 2008-08-21 20:38 Randy Dunlap
0 siblings, 0 replies; only message in thread
From: Randy Dunlap @ 2008-08-21 20:38 UTC (permalink / raw)
To: frame+buffer, linux-fbdev-devel; +Cc: jayakumar.lkml, linux-next, akpm
From: Randy Dunlap <randy.dunlap@oracle•com>
Fix printk format warning:
linux-next-20080821/drivers/video/metronomefb.c:191: warning: format '%d' expects type 'int', but argument 4 has type 'size_t
Signed-off-by: Randy Dunlap <randy.dunlap@oracle•com>
---
drivers/video/metronomefb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- linux-next-20080821.orig/drivers/video/metronomefb.c
+++ linux-next-20080821/drivers/video/metronomefb.c
@@ -188,7 +188,7 @@ static int __devinit load_waveform(u8 *m
epd_frame_table[par->dt].wfm_size = user_wfm_size;
if (size != epd_frame_table[par->dt].wfm_size) {
- dev_err(dev, "Error: unexpected size %d != %d\n", size,
+ dev_err(dev, "Error: unexpected size %zu != %d\n", size,
epd_frame_table[par->dt].wfm_size);
return -EINVAL;
}
---
~Randy
Linux Plumbers Conference, 17-19 September 2008, Portland, Oregon USA
http://linuxplumbersconf.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-08-21 20:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21 20:38 [PATCH -next] fb: metronome printk format warning Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox