https://github.com/torvalds/linux
Revision 61eb495c83bf6ebde490992bf888ca15b9babc39 authored by Geert Uytterhoeven on 18 November 2021, 18:26:21 UTC, committed by Linus Torvalds on 21 November 2021, 17:44:19 UTC
On 32-bit:

    fs/pstore/blk.c: In function ‘__best_effort_init’:
    include/linux/kern_levels.h:5:18: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
	5 | #define KERN_SOH "\001"  /* ASCII Start Of Header */
	  |                  ^~~~~~
    include/linux/kern_levels.h:14:19: note: in expansion of macro ‘KERN_SOH’
       14 | #define KERN_INFO KERN_SOH "6" /* informational */
	  |                   ^~~~~~~~
    include/linux/printk.h:373:9: note: in expansion of macro ‘KERN_INFO’
      373 |  printk(KERN_INFO pr_fmt(fmt), ##__VA_ARGS__)
	  |         ^~~~~~~~~
    fs/pstore/blk.c:314:3: note: in expansion of macro ‘pr_info’
      314 |   pr_info("attached %s (%zu) (no dedicated panic_write!)\n",
	  |   ^~~~~~~

Cc: stable@vger.kernel.org
Fixes: 7bb9557b48fcabaa ("pstore/blk: Use the normal block device I/O path")
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20210629103700.1935012-1-geert@linux-m68k.org
Cc: Jens Axboe <axboe@kernel.dk>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 923dcc5
History
Tip revision: 61eb495c83bf6ebde490992bf888ca15b9babc39 authored by Geert Uytterhoeven on 18 November 2021, 18:26:21 UTC
pstore/blk: Use "%lu" to format unsigned long
Tip revision: 61eb495
File Mode Size
agp
hw_random
ipmi
mwave
pcmcia
tpm
xilinx_hwicap
xillybus
Kconfig -rw-r--r-- 15.5 KB
Makefile -rw-r--r-- 1.4 KB
adi.c -rw-r--r-- 4.5 KB
apm-emulation.c -rw-r--r-- 17.3 KB
applicom.c -rw-r--r-- 24.1 KB
applicom.h -rw-r--r-- 2.5 KB
bsr.c -rw-r--r-- 8.2 KB
ds1620.c -rw-r--r-- 8.4 KB
dsp56k.c -rw-r--r-- 12.2 KB
dtlk.c -rw-r--r-- 16.3 KB
hangcheck-timer.c -rw-r--r-- 5.1 KB
hpet.c -rw-r--r-- 24.0 KB
lp.c -rw-r--r-- 27.4 KB
mem.c -rw-r--r-- 16.5 KB
misc.c -rw-r--r-- 6.8 KB
mspec.c -rw-r--r-- 7.1 KB
nsc_gpio.c -rw-r--r-- 3.5 KB
nvram.c -rw-r--r-- 13.5 KB
nwbutton.c -rw-r--r-- 7.9 KB
nwbutton.h -rw-r--r-- 1.1 KB
nwflash.c -rw-r--r-- 12.8 KB
pc8736x_gpio.c -rw-r--r-- 8.8 KB
powernv-op-panel.c -rw-r--r-- 5.1 KB
ppdev.c -rw-r--r-- 20.2 KB
ps3flash.c -rw-r--r-- 10.0 KB
random.c -rw-r--r-- 67.1 KB
scx200_gpio.c -rw-r--r-- 3.1 KB
sonypi.c -rw-r--r-- 40.4 KB
tb0219.c -rw-r--r-- 7.1 KB
tlclk.c -rw-r--r-- 23.3 KB
toshiba.c -rw-r--r-- 12.4 KB
ttyprintk.c -rw-r--r-- 4.8 KB
uv_mmtimer.c -rw-r--r-- 5.5 KB
virtio_console.c -rw-r--r-- 54.7 KB

back to top