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
Tip revision: 61eb495c83bf6ebde490992bf888ca15b9babc39 authored by Geert Uytterhoeven on 18 November 2021, 18:26:21 UTC
pstore/blk: Use "%lu" to format unsigned long
pstore/blk: Use "%lu" to format unsigned long
Tip revision: 61eb495
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 8.0 KB |
Makefile | -rw-r--r-- | 1.9 KB |
altera-cvp.c | -rw-r--r-- | 19.0 KB |
altera-fpga2sdram.c | -rw-r--r-- | 4.9 KB |
altera-freeze-bridge.c | -rw-r--r-- | 6.8 KB |
altera-hps2fpga.c | -rw-r--r-- | 5.8 KB |
altera-pr-ip-core-plat.c | -rw-r--r-- | 1.3 KB |
altera-pr-ip-core.c | -rw-r--r-- | 4.7 KB |
altera-ps-spi.c | -rw-r--r-- | 8.2 KB |
dfl-afu-dma-region.c | -rw-r--r-- | 10.3 KB |
dfl-afu-error.c | -rw-r--r-- | 6.2 KB |
dfl-afu-main.c | -rw-r--r-- | 23.2 KB |
dfl-afu-region.c | -rw-r--r-- | 4.1 KB |
dfl-afu.h | -rw-r--r-- | 3.2 KB |
dfl-fme-br.c | -rw-r--r-- | 2.5 KB |
dfl-fme-error.c | -rw-r--r-- | 9.6 KB |
dfl-fme-main.c | -rw-r--r-- | 18.9 KB |
dfl-fme-mgr.c | -rw-r--r-- | 8.9 KB |
dfl-fme-perf.c | -rw-r--r-- | 29.5 KB |
dfl-fme-pr.c | -rw-r--r-- | 11.4 KB |
dfl-fme-pr.h | -rw-r--r-- | 2.0 KB |
dfl-fme-region.c | -rw-r--r-- | 2.1 KB |
dfl-fme.h | -rw-r--r-- | 1.3 KB |
dfl-n3000-nios.c | -rw-r--r-- | 17.7 KB |
dfl-pci.c | -rw-r--r-- | 11.0 KB |
dfl.c | -rw-r--r-- | 46.3 KB |
dfl.h | -rw-r--r-- | 15.6 KB |
fpga-bridge.c | -rw-r--r-- | 12.1 KB |
fpga-mgr.c | -rw-r--r-- | 21.1 KB |
fpga-region.c | -rw-r--r-- | 8.5 KB |
ice40-spi.c | -rw-r--r-- | 5.3 KB |
machxo2-spi.c | -rw-r--r-- | 9.4 KB |
of-fpga-region.c | -rw-r--r-- | 12.0 KB |
socfpga-a10.c | -rw-r--r-- | 15.3 KB |
socfpga.c | -rw-r--r-- | 16.8 KB |
stratix10-soc.c | -rw-r--r-- | 11.9 KB |
ts73xx-fpga.c | -rw-r--r-- | 3.5 KB |
versal-fpga.c | -rw-r--r-- | 2.0 KB |
xilinx-pr-decoupler.c | -rw-r--r-- | 4.4 KB |
xilinx-spi.c | -rw-r--r-- | 6.5 KB |
zynq-fpga.c | -rw-r--r-- | 17.2 KB |
zynqmp-fpga.c | -rw-r--r-- | 2.8 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...