Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d54aaf3 authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds
Browse files

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: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6c5e51da
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
	}