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
appletalk
arcnet
bonding
caif
can
dsa
ethernet
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa
ipvlan
mctp
mdio
netdevsim
pcs
phy
plip
ppp
slip
team
usb
vmxnet3
wan
wireguard
wireless
wwan
xen-netback
Kconfig -rw-r--r-- 20.6 KB
LICENSE.SRC -rw-r--r-- 891 bytes
Makefile -rw-r--r-- 2.5 KB
Space.c -rw-r--r-- 6.2 KB
amt.c -rw-r--r-- 85.8 KB
bareudp.c -rw-r--r-- 20.4 KB
dummy.c -rw-r--r-- 5.1 KB
eql.c -rw-r--r-- 14.7 KB
geneve.c -rw-r--r-- 50.2 KB
gtp.c -rw-r--r-- 33.0 KB
ifb.c -rw-r--r-- 8.5 KB
loopback.c -rw-r--r-- 7.0 KB
macsec.c -rw-r--r-- 105.8 KB
macvlan.c -rw-r--r-- 46.4 KB
macvtap.c -rw-r--r-- 6.1 KB
mdio.c -rw-r--r-- 17.2 KB
mhi_net.c -rw-r--r-- 10.9 KB
mii.c -rw-r--r-- 17.9 KB
net_failover.c -rw-r--r-- 23.2 KB
netconsole.c -rw-r--r-- 24.1 KB
nlmon.c -rw-r--r-- 2.9 KB
ntb_netdev.c -rw-r--r-- 12.2 KB
rionet.c -rw-r--r-- 18.4 KB
sb1000.c -rw-r--r-- 31.0 KB
sungem_phy.c -rw-r--r-- 29.8 KB
tap.c -rw-r--r-- 30.0 KB
thunderbolt.c -rw-r--r-- 35.6 KB
tun.c -rw-r--r-- 84.9 KB
veth.c -rw-r--r-- 42.5 KB
virtio_net.c -rw-r--r-- 89.2 KB
vrf.c -rw-r--r-- 46.6 KB
vsockmon.c -rw-r--r-- 3.0 KB
vxlan.c -rw-r--r-- 121.3 KB
xen-netfront.c -rw-r--r-- 64.2 KB

back to top