Geert Uytterhoeven
61eb495c83
pstore/blk: Use "%lu" to format unsigned long
...
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>
2021-11-21 09:44:19 -08:00
..
2021-11-10 21:16:56 +00:00
2021-11-10 21:17:09 +00:00
2021-11-18 12:41:14 -08:00
2021-11-13 11:31:07 -08:00
2021-11-16 10:57:08 -06:00
2021-11-09 10:02:51 -08:00
2021-11-13 11:27:02 -08:00
2021-11-10 17:05:37 -08:00
2021-11-13 15:32:30 -08:00
2021-11-09 10:46:32 -08:00
2021-11-10 18:22:37 +01:00
2021-11-09 10:11:53 -08:00
2021-11-09 10:11:53 -08:00
2021-11-09 10:02:48 -08:00
2021-11-02 12:25:03 -07:00
2021-11-03 09:23:25 -07:00
2021-11-11 19:22:58 -06:00
2021-11-10 16:45:54 -08:00
2021-11-10 21:16:56 +00:00
2021-11-10 16:45:54 -08:00
2021-11-17 08:38:00 -08:00
2021-11-09 10:11:53 -08:00
2021-11-02 12:25:03 -07:00
2021-11-02 12:25:03 -07:00
2021-11-10 16:15:54 -08:00
2021-11-09 10:34:06 -08:00
2021-11-09 10:51:12 -08:00
2021-11-20 10:35:55 -08:00
2021-11-21 09:44:19 -08:00
2021-11-06 16:40:48 -07:00
2021-11-09 10:11:53 -08:00
2021-11-06 16:40:48 -07:00
2021-11-05 09:55:36 -05:00
2021-11-08 16:55:21 -08:00
2021-11-09 10:02:52 -08:00
2021-11-09 12:53:58 +01:00
2021-11-14 12:18:22 -08:00
2021-11-02 12:25:03 -07:00
2021-11-17 09:26:09 +01:00
2021-11-09 10:11:53 -08:00
2021-11-06 13:30:32 -07:00
2021-11-10 16:15:54 -08:00
2021-11-09 10:11:53 -08:00
2021-11-09 10:11:53 -08:00
2021-11-08 08:39:48 -07:00
2021-11-11 17:39:46 -07:00
2021-11-03 15:43:08 +01:00
2021-11-06 14:08:17 -07:00
2021-11-06 13:30:32 -07:00
2021-11-09 10:02:52 -08:00
2021-11-06 13:30:34 -07:00