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
partitions
Kconfig -rw-r--r-- 6.5 KB
Kconfig.iosched -rw-r--r-- 1.3 KB
Makefile -rw-r--r-- 1.7 KB
badblocks.c -rw-r--r-- 14.1 KB
bdev.c -rw-r--r-- 27.3 KB
bfq-cgroup.c -rw-r--r-- 38.7 KB
bfq-iosched.c -rw-r--r-- 255.3 KB
bfq-iosched.h -rw-r--r-- 37.4 KB
bfq-wf2q.c -rw-r--r-- 52.7 KB
bio-integrity.c -rw-r--r-- 12.3 KB
bio.c -rw-r--r-- 47.1 KB
blk-cgroup-rwstat.c -rw-r--r-- 3.4 KB
blk-cgroup-rwstat.h -rw-r--r-- 3.9 KB
blk-cgroup.c -rw-r--r-- 50.2 KB
blk-core.c -rw-r--r-- 44.7 KB
blk-crypto-fallback.c -rw-r--r-- 18.7 KB
blk-crypto-internal.h -rw-r--r-- 5.4 KB
blk-crypto-profile.c -rw-r--r-- 16.5 KB
blk-crypto.c -rw-r--r-- 12.0 KB
blk-exec.c -rw-r--r-- 3.0 KB
blk-flush.c -rw-r--r-- 15.3 KB
blk-ia-ranges.c -rw-r--r-- 9.1 KB
blk-integrity.c -rw-r--r-- 11.9 KB
blk-ioc.c -rw-r--r-- 10.1 KB
blk-iocost.c -rw-r--r-- 96.4 KB
blk-iolatency.c -rw-r--r-- 28.0 KB
blk-ioprio.c -rw-r--r-- 6.4 KB
blk-ioprio.h -rw-r--r-- 332 bytes
blk-lib.c -rw-r--r-- 11.5 KB
blk-map.c -rw-r--r-- 14.1 KB
blk-merge.c -rw-r--r-- 31.1 KB
blk-mq-cpumap.c -rw-r--r-- 2.2 KB
blk-mq-debugfs-zoned.c -rw-r--r-- 435 bytes
blk-mq-debugfs.c -rw-r--r-- 22.0 KB
blk-mq-debugfs.h -rw-r--r-- 2.7 KB
blk-mq-pci.c -rw-r--r-- 1.3 KB
blk-mq-rdma.c -rw-r--r-- 1.3 KB
blk-mq-sched.c -rw-r--r-- 17.6 KB
blk-mq-sched.h -rw-r--r-- 2.6 KB
blk-mq-sysfs.c -rw-r--r-- 7.0 KB
blk-mq-tag.c -rw-r--r-- 17.3 KB
blk-mq-tag.h -rw-r--r-- 2.2 KB
blk-mq-virtio.c -rw-r--r-- 1.3 KB
blk-mq.c -rw-r--r-- 109.7 KB
blk-mq.h -rw-r--r-- 10.7 KB
blk-pm.c -rw-r--r-- 6.8 KB
blk-pm.h -rw-r--r-- 763 bytes
blk-rq-qos.c -rw-r--r-- 7.0 KB
blk-rq-qos.h -rw-r--r-- 5.3 KB
blk-settings.c -rw-r--r-- 28.7 KB
blk-stat.c -rw-r--r-- 4.8 KB
blk-stat.h -rw-r--r-- 4.6 KB
blk-sysfs.c -rw-r--r-- 24.4 KB
blk-throttle.c -rw-r--r-- 63.8 KB
blk-throttle.h -rw-r--r-- 5.7 KB
blk-timeout.c -rw-r--r-- 4.1 KB
blk-wbt.c -rw-r--r-- 19.9 KB
blk-wbt.h -rw-r--r-- 2.8 KB
blk-zoned.c -rw-r--r-- 16.7 KB
blk.h -rw-r--r-- 14.7 KB
bounce.c -rw-r--r-- 6.7 KB
bsg-lib.c -rw-r--r-- 9.8 KB
bsg.c -rw-r--r-- 6.1 KB
disk-events.c -rw-r--r-- 12.9 KB
elevator.c -rw-r--r-- 19.3 KB
elevator.h -rw-r--r-- 5.2 KB
fops.c -rw-r--r-- 16.3 KB
genhd.c -rw-r--r-- 35.8 KB
holder.c -rw-r--r-- 4.2 KB
ioctl.c -rw-r--r-- 16.3 KB
ioprio.c -rw-r--r-- 5.4 KB
kyber-iosched.c -rw-r--r-- 27.9 KB
mq-deadline.c -rw-r--r-- 31.6 KB
opal_proto.h -rw-r--r-- 9.4 KB
sed-opal.c -rw-r--r-- 62.5 KB
t10-pi.c -rw-r--r-- 7.7 KB

back to top