]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
fbdev: au1100fb: Use proper conversion specifiers in printk formats
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Sun, 15 Feb 2026 23:33:19 +0000 (00:33 +0100)
committerHelge Deller <deller@gmx.de>
Thu, 19 Feb 2026 16:38:17 +0000 (17:38 +0100)
commit13c89a37c6f6f33d9afbd8b4adf121c3d51c81d2
treeb6dd694f2804304ff127d1a2a3ab8f2e71af58d5
parent2bb53005f4670b8c17c181b9559319b27a6ab74e
fbdev: au1100fb: Use proper conversion specifiers in printk formats

%zu is the dedicated type for size_t. %d only works on 32bit
architectures where size_t is typedef'd to be unsigned int. (And then
the signedness doesn't fit, but `gcc -Wformat` doesn't stumble over this.
Also the size of dma_addr_t is architecture dependent and it should be
printkd using %pad (and the value passed by reference).

This prepares allowing this driver to be compiled on non-mips platforms.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Helge Deller <deller@gmx.de>
drivers/video/fbdev/au1100fb.c