Geert Uytterhoeven
17071fdcd0
pstore/blk: Use "%lu" to format unsigned long
...
commit 61eb495c83bf6ebde490992bf888ca15b9babc39 upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-11-25 09:48:42 +01:00
..
2021-10-04 22:07:46 +01:00
2021-06-29 10:53:48 -07:00
2021-06-29 10:53:48 -07:00
2021-10-07 11:20:08 -07:00
2021-10-20 21:09:02 -04:00
2021-08-19 09:02:55 +09:00
2021-06-29 10:53:48 -07:00
2021-11-25 09:48:37 +01:00
2021-08-27 13:34:02 +01:00
2021-11-18 19:17:15 +01:00
2021-11-18 19:17:20 +01:00
2021-04-23 14:42:39 -07:00
2021-08-25 07:58:49 +02:00
2021-11-18 19:16:11 +01:00
2021-09-21 09:09:06 +02:00
2021-09-01 11:29:14 -05:00
2021-06-29 10:53:48 -07:00
2021-04-12 15:04:29 +02:00
2021-11-18 19:17:15 +01:00
2021-11-18 19:15:52 +01:00
2021-09-22 13:05:23 +02:00
2021-11-18 19:15:56 +01:00
2021-11-25 09:48:31 +01:00
2021-09-02 12:32:12 -07:00
2021-10-04 22:13:12 +01:00
2021-11-18 19:15:56 +01:00
2021-11-18 19:16:19 +01:00
2021-07-15 10:13:49 -07:00
2021-07-01 11:06:06 -07:00
2021-08-26 22:28:02 +02:00
2021-07-27 11:00:36 +02:00
2021-07-23 17:43:28 -07:00
2021-08-26 09:18:53 -07:00
2021-11-12 15:05:50 +01:00
2021-08-30 23:36:50 -04:00
2021-08-18 22:08:24 +02:00
2021-11-18 19:16:48 +01:00
2021-10-04 10:27:18 +02:00
2021-11-18 19:17:15 +01:00
2021-09-22 09:21:02 -07:00
2021-06-29 10:53:48 -07:00
2021-10-05 11:22:06 +01:00
2021-11-18 19:17:04 +01:00
2021-10-04 22:02:17 +01:00
2021-11-25 09:48:35 +01:00
2021-09-08 12:55:35 -07:00
2021-09-10 09:46:48 -07:00
2021-07-03 11:30:04 -07:00
2021-10-15 09:58:11 -04:00
2021-11-18 19:15:51 +01:00
2021-06-29 10:53:48 -07:00
2021-11-18 19:17:01 +01:00
2021-11-18 19:16:04 +01:00
2021-11-18 19:16:13 +01:00
2021-11-25 09:48:42 +01:00
2021-09-21 08:36:48 -07:00
2021-11-18 19:16:05 +01:00
2021-06-29 10:53:48 -07:00
2021-09-03 15:33:47 -07:00
2021-09-13 14:51:10 -05:00
2021-08-16 10:50:32 -06:00
2021-08-06 13:05:28 +02:00
2021-06-29 10:53:48 -07:00
2021-11-18 19:16:15 +01:00
2021-07-25 20:01:07 -07:00
2021-08-23 13:35:19 +02:00
2021-08-19 09:02:55 +09:00
2021-05-02 00:43:35 +09:00
2021-09-27 11:26:21 -07:00
2021-09-22 10:56:34 -07:00
2021-09-09 11:39:57 -07:00
2021-08-30 10:24:50 -07:00
2021-08-28 01:33:02 +02:00
2021-08-13 00:41:05 -04:00
2021-08-18 22:08:24 +02:00
2021-09-05 10:15:05 -07:00
2021-09-03 18:42:01 +02:00
2021-10-03 14:02:58 -07:00
2021-06-29 10:53:50 -07:00
2021-09-24 16:13:35 -07:00
2021-09-08 11:50:27 -07:00
2021-09-02 10:07:29 -07:00
2021-08-31 11:13:35 -07:00
2021-04-15 22:36:45 -04:00
2021-04-09 14:54:23 -07:00
2021-09-03 09:58:10 -07:00
2021-09-06 07:20:56 -04:00
2021-09-09 13:25:49 -07:00
2021-09-04 11:35:47 -07:00
2021-09-03 10:08:28 -07:00
2021-04-07 13:56:43 -04:00
2021-09-11 14:48:42 -07:00
2021-08-23 01:25:40 -04:00
2021-09-03 09:58:12 -07:00
2021-09-07 16:07:47 -04:00
2021-09-03 10:08:28 -07:00
2021-09-17 13:39:23 +02:00
2021-09-07 08:39:40 -06:00
2021-11-18 19:16:03 +01:00
2021-11-18 19:17:05 +01:00
2021-08-29 07:55:55 -06:00
2021-08-31 11:06:32 -07:00
2021-09-12 10:10:21 -07:00
2021-07-25 22:33:03 -07:00
2021-10-18 20:22:03 -10:00
2021-06-29 10:53:48 -07:00
2021-09-07 11:21:48 -07:00
2021-09-12 10:10:21 -07:00
2021-09-07 16:14:05 -04:00
2021-09-03 10:08:28 -07:00
2021-11-18 19:17:17 +01:00
2021-09-07 11:03:45 -07:00
2021-08-18 22:08:24 +02:00
2021-08-24 07:52:45 -04:00
2021-04-17 11:39:49 -07:00
2021-08-23 06:15:36 -04:00
2021-09-07 11:26:23 -07:00
2021-07-19 17:18:48 -07:00
2021-07-23 13:16:43 -05:00
2021-08-17 11:47:43 +02:00
2021-08-09 11:53:26 -06:00
2021-08-10 17:57:22 +02:00
2021-10-18 20:22:02 -10:00
2021-03-23 11:20:26 +01:00