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
Kconfig -rw-r--r-- 8.0 KB
Makefile -rw-r--r-- 2.7 KB
at91_cf.c -rw-r--r-- 10.0 KB
bcm63xx_pcmcia.c -rw-r--r-- 13.3 KB
bcm63xx_pcmcia.h -rw-r--r-- 1.3 KB
cardbus.c -rw-r--r-- 2.8 KB
cirrus.h -rw-r--r-- 5.0 KB
cistpl.c -rw-r--r-- 35.1 KB
cs.c -rw-r--r-- 21.4 KB
cs_internal.h -rw-r--r-- 5.0 KB
db1xxx_ss.c -rw-r--r-- 15.5 KB
ds.c -rw-r--r-- 34.8 KB
electra_cf.c -rw-r--r-- 7.7 KB
i82092.c -rw-r--r-- 15.2 KB
i82092aa.h -rw-r--r-- 804 bytes
i82365.c -rw-r--r-- 37.1 KB
i82365.h -rw-r--r-- 4.9 KB
max1600.c -rw-r--r-- 2.8 KB
max1600.h -rw-r--r-- 577 bytes
o2micro.h -rw-r--r-- 5.9 KB
omap_cf.c -rw-r--r-- 8.6 KB
pcmcia_cis.c -rw-r--r-- 12.6 KB
pcmcia_resource.c -rw-r--r-- 24.1 KB
pd6729.c -rw-r--r-- 18.3 KB
pd6729.h -rw-r--r-- 609 bytes
pxa2xx_balloon3.c -rw-r--r-- 3.4 KB
pxa2xx_base.c -rw-r--r-- 10.3 KB
pxa2xx_base.h -rw-r--r-- 202 bytes
pxa2xx_cm_x255.c -rw-r--r-- 2.9 KB
pxa2xx_cm_x270.c -rw-r--r-- 2.3 KB
pxa2xx_cm_x2xx.c -rw-r--r-- 997 bytes
pxa2xx_colibri.c -rw-r--r-- 4.4 KB
pxa2xx_e740.c -rw-r--r-- 2.9 KB
pxa2xx_hx4700.c -rw-r--r-- 2.9 KB
pxa2xx_mainstone.c -rw-r--r-- 3.0 KB
pxa2xx_palmld.c -rw-r--r-- 2.6 KB
pxa2xx_palmtc.c -rw-r--r-- 3.8 KB
pxa2xx_palmtx.c -rw-r--r-- 2.6 KB
pxa2xx_sharpsl.c -rw-r--r-- 6.9 KB
pxa2xx_stargate2.c -rw-r--r-- 3.2 KB
pxa2xx_trizeps4.c -rw-r--r-- 4.4 KB
pxa2xx_viper.c -rw-r--r-- 4.1 KB
pxa2xx_vpac270.c -rw-r--r-- 3.3 KB
ricoh.h -rw-r--r-- 7.6 KB
rsrc_iodyn.c -rw-r--r-- 3.6 KB
rsrc_mgr.c -rw-r--r-- 1.5 KB
rsrc_nonstatic.c -rw-r--r-- 29.5 KB
sa1100_generic.c -rw-r--r-- 5.9 KB
sa1100_generic.h -rw-r--r-- 890 bytes
sa1100_h3600.c -rw-r--r-- 3.9 KB
sa1100_simpad.c -rw-r--r-- 2.4 KB
sa1111_badge4.c -rw-r--r-- 3.7 KB
sa1111_generic.c -rw-r--r-- 6.8 KB
sa1111_generic.h -rw-r--r-- 880 bytes
sa1111_jornada720.c -rw-r--r-- 3.0 KB
sa1111_lubbock.c -rw-r--r-- 3.4 KB
sa1111_neponset.c -rw-r--r-- 2.0 KB
sa11xx_base.c -rw-r--r-- 7.3 KB
sa11xx_base.h -rw-r--r-- 4.7 KB
soc_common.c -rw-r--r-- 23.1 KB
soc_common.h -rw-r--r-- 5.7 KB
socket_sysfs.c -rw-r--r-- 5.6 KB
tcic.c -rw-r--r-- 23.4 KB
tcic.h -rw-r--r-- 8.0 KB
ti113x.h -rw-r--r-- 27.6 KB
topic.h -rw-r--r-- 5.9 KB
vg468.h -rw-r--r-- 4.1 KB
vrc4171_card.c -rw-r--r-- 17.1 KB
xxs1500_ss.c -rw-r--r-- 7.8 KB
yenta_socket.c -rw-r--r-- 39.4 KB
yenta_socket.h -rw-r--r-- 4.8 KB

back to top