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 |
---|---|---|
unittest-data | ||
Kconfig | -rw-r--r-- | 2.2 KB |
Makefile | -rw-r--r-- | 670 bytes |
address.c | -rw-r--r-- | 27.1 KB |
base.c | -rw-r--r-- | 60.2 KB |
device.c | -rw-r--r-- | 9.8 KB |
dynamic.c | -rw-r--r-- | 22.8 KB |
fdt.c | -rw-r--r-- | 33.7 KB |
fdt_address.c | -rw-r--r-- | 6.2 KB |
irq.c | -rw-r--r-- | 19.0 KB |
kexec.c | -rw-r--r-- | 10.6 KB |
kobj.c | -rw-r--r-- | 3.9 KB |
of_numa.c | -rw-r--r-- | 3.9 KB |
of_private.h | -rw-r--r-- | 5.5 KB |
of_reserved_mem.c | -rw-r--r-- | 11.4 KB |
overlay.c | -rw-r--r-- | 34.3 KB |
pdt.c | -rw-r--r-- | 4.8 KB |
platform.c | -rw-r--r-- | 20.1 KB |
property.c | -rw-r--r-- | 42.2 KB |
resolver.c | -rw-r--r-- | 8.7 KB |
unittest.c | -rw-r--r-- | 92.7 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...