forked from luck/tmp_suning_uos_patched
metronomefb: Fix warning when building 64bit
The metronome driver produces warnings when built on x86-64 as it assumes that size_t is an int. Use %Zd instead. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
6c5e51dae2
commit
6d54aaf389
|
@ -188,7 +188,7 @@ static int __devinit load_waveform(u8 *mem, size_t size, int m, int t,
|
|||
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 %Zd != %d\n", size,
|
||||
epd_frame_table[par->dt].wfm_size);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user