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

Commit b86acbef authored by Oleg Drokin's avatar Oleg Drokin Committed by Tomi Valkeinen
Browse files

mx3fb: Fix print format string



%ul was probably meant as %lu since the former would print
an unsigned value and a letter l.

But in fact the whole value we are printing in u32 anyway, so
we don't need the format to be long. Therefore just drop the l
altogether.

Signed-off-by: default avatarOleg Drokin <green@linuxhacker.ru>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent ffe439d6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -845,7 +845,7 @@ static int __set_par(struct fb_info *fbi, bool lock)
		if (fbi->var.sync & FB_SYNC_SHARP_MODE)
			mode = IPU_PANEL_SHARP_TFT;

		dev_dbg(fbi->device, "pixclock = %ul Hz\n",
		dev_dbg(fbi->device, "pixclock = %u Hz\n",
			(u32) (PICOS2KHZ(fbi->var.pixclock) * 1000UL));

		if (sdc_init_panel(mx3fb, mode,