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
arm_ffa
arm_scmi
broadcom
cirrus
efi
google
imx
meson
psci
smccc
tegra
xilinx
Kconfig -rw-r--r-- 11.2 KB
Makefile -rw-r--r-- 1.3 KB
arm_scpi.c -rw-r--r-- 26.2 KB
arm_sdei.c -rw-r--r-- 23.4 KB
dmi-id.c -rw-r--r-- 7.2 KB
dmi-sysfs.c -rw-r--r-- 16.9 KB
dmi_scan.c -rw-r--r-- 29.1 KB
edd.c -rw-r--r-- 19.5 KB
iscsi_ibft.c -rw-r--r-- 20.9 KB
iscsi_ibft_find.c -rw-r--r-- 2.1 KB
memmap.c -rw-r--r-- 11.6 KB
pcdp.c -rw-r--r-- 3.2 KB
pcdp.h -rw-r--r-- 2.5 KB
qcom_scm-legacy.c -rw-r--r-- 6.8 KB
qcom_scm-smc.c -rw-r--r-- 3.7 KB
qcom_scm.c -rw-r--r-- 34.9 KB
qcom_scm.h -rw-r--r-- 4.0 KB
qemu_fw_cfg.c -rw-r--r-- 25.2 KB
raspberrypi.c -rw-r--r-- 9.4 KB
scpi_pm_domain.c -rw-r--r-- 3.7 KB
stratix10-rsu.c -rw-r--r-- 16.2 KB
stratix10-svc.c -rw-r--r-- 31.1 KB
sysfb.c -rw-r--r-- 2.4 KB
sysfb_simplefb.c -rw-r--r-- 3.4 KB
ti_sci.c -rw-r--r-- 98.2 KB
ti_sci.h -rw-r--r-- 53.1 KB
trusted_foundations.c -rw-r--r-- 4.0 KB
turris-mox-rwtm.c -rw-r--r-- 14.0 KB

back to top