diff options
| author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2026-02-16 00:33:19 +0100 |
|---|---|---|
| committer | Helge Deller <deller@gmx.de> | 2026-02-19 17:38:17 +0100 |
| commit | 13c89a37c6f6f33d9afbd8b4adf121c3d51c81d2 (patch) | |
| tree | b6dd694f2804304ff127d1a2a3ab8f2e71af58d5 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 2bb53005f4670b8c17c181b9559319b27a6ab74e (diff) | |
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>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
