Arnd Bergmann
fc1fbd13a2
scsi: mpi3mr: Fix printk() format strings
...
The newly introduced error messages get multiple format strings wrong:
size_t must be printed using the %z modifier rather than %l and dma_addr_t
must be printed by reference using the special %pad pointer type:
drivers/scsi/mpi3mr/mpi3mr_app.c: In function 'mpi3mr_build_nvme_prp':
include/linux/kern_levels.h:5:25: error: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'dma_addr_t' {aka 'unsigned int'} [-Werror=format=]
drivers/scsi/mpi3mr/mpi3mr_app.c:949:25: note: in expansion of macro 'dprint_bsg_err'
949 | dprint_bsg_err(mrioc,
| ^~~~~~~~~~~~~~
include/linux/kern_levels.h:5:25: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Werror=format=]
drivers/scsi/mpi3mr/mpi3mr_app.c:1112:41: note: in expansion of macro 'dprint_bsg_err'
1112 | dprint_bsg_err(mrioc,
| ^~~~~~~~~~~~~~
Fixes: 9536af615dc9 ("scsi: mpi3mr: Support for preallocation of SGL BSG data buffers part-3")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20231207142813.935717-1-arnd@kernel.org
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org> # build-tested
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2023-12-08 12:04:56 -05:00
..
2023-08-30 20:56:24 -04:00
2023-12-05 21:18:40 -05:00
2023-08-21 17:50:59 -04:00
2023-11-24 21:23:36 -05:00
2023-03-24 19:19:21 -04:00
2023-07-25 21:49:32 -04:00
2023-11-24 19:23:39 -05:00
2023-11-15 09:01:10 -05:00
2023-05-26 13:52:19 -07:00
2023-11-15 09:05:46 -05:00
2023-10-13 14:15:54 -04:00
2023-04-27 11:53:57 -07:00
2023-10-13 16:36:20 -04:00
2023-11-15 09:46:03 -05:00
2023-09-13 21:01:59 -04:00
2023-08-21 17:13:56 -04:00
2023-12-05 21:01:52 -05:00
2023-11-02 20:53:31 -10:00
2023-12-05 21:01:52 -05:00
2023-10-13 15:53:57 -04:00
2023-12-05 21:13:15 -05:00
2023-12-05 21:32:11 -05:00
2023-09-13 21:06:44 -04:00
2023-11-15 09:52:58 -05:00
2023-10-13 16:52:47 -04:00
2023-12-08 12:04:56 -05:00
2023-11-15 10:50:31 -05:00
2023-08-21 17:50:58 -04:00
2023-05-31 19:59:26 -04:00
2023-09-21 21:39:47 -04:00
2023-10-13 14:25:20 -04:00
2023-08-30 20:56:24 -04:00
2023-11-02 20:53:31 -10:00
2023-07-25 21:51:04 -04:00
2023-08-24 22:58:36 -04:00
2023-10-24 22:33:02 -04:00
2023-10-13 14:23:15 -04:00
2023-05-26 13:52:19 -07:00
2023-11-15 08:58:26 -05:00
2023-01-12 00:09:52 -05:00
2023-05-22 17:31:56 -04:00
2022-09-25 13:06:00 -04:00
2023-07-31 14:38:17 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-12-05 21:51:36 -05:00
2023-12-05 21:51:36 -05:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:20 -04:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:22 -04:00
2023-12-05 21:51:36 -05:00
2023-03-24 19:19:21 -04:00
2023-03-24 19:19:20 -04:00
2023-12-05 21:51:36 -05:00
2023-11-15 09:03:58 -05:00
2023-11-24 21:08:23 -05:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2023-03-24 19:19:22 -04:00
2022-08-01 19:52:03 -04:00
2023-03-24 19:19:22 -04:00
2023-08-21 16:37:11 -04:00
2023-08-21 16:42:03 -04:00
2023-03-24 20:13:03 -04:00
2023-05-26 13:52:19 -07:00
2022-09-25 13:04:17 -04:00
2023-09-13 21:11:55 -04:00
2023-09-13 21:11:55 -04:00
2023-03-24 19:19:56 -04:00
2022-02-22 21:11:05 -05:00
2023-12-05 21:05:09 -05:00
2023-04-18 23:01:23 -04:00
2023-10-13 14:23:15 -04:00
2023-09-17 17:46:13 +01:00
2023-06-24 15:50:13 -07:00
2023-12-05 21:51:37 -05:00
2023-09-13 21:11:55 -04:00
2022-06-21 21:19:23 -04:00
2023-03-24 19:19:57 -04:00
2023-03-24 19:19:57 -04:00
2022-02-27 21:35:30 -05:00
2023-12-05 21:51:37 -05:00
2023-12-05 21:51:37 -05:00
2022-06-27 22:56:21 -04:00
2023-10-24 22:40:39 -04:00
2022-02-22 21:11:05 -05:00
2023-03-24 19:19:57 -04:00
2022-02-27 21:34:02 -05:00
2023-12-05 21:51:37 -05:00
2023-03-24 19:19:57 -04:00
2023-08-24 22:11:29 -04:00
2023-01-12 00:11:11 -05:00
2023-03-24 19:19:58 -04:00
2023-03-24 19:19:58 -04:00
2023-06-21 21:13:00 -04:00
2022-02-22 21:11:07 -05:00
2023-05-22 15:13:03 -10:00
2022-02-22 21:11:03 -05:00
2023-03-24 19:19:58 -04:00
2022-02-22 21:11:06 -05:00
2023-10-24 22:24:32 -04:00
2022-03-29 23:32:26 -04:00
2023-09-05 05:26:49 -04:00
2023-08-21 16:32:40 -04:00
2023-03-24 19:19:58 -04:00
2023-10-13 14:23:15 -04:00
2022-02-22 21:11:06 -05:00
2022-02-22 21:11:02 -05:00
2022-02-22 21:11:02 -05:00
2023-12-05 21:51:37 -05:00
2023-08-24 21:34:28 -04:00
2023-06-12 08:04:04 -06:00
2023-05-31 11:05:34 -04:00
2023-10-16 20:50:12 -04:00
2023-08-24 22:13:03 -04:00
2023-03-16 22:54:43 -04:00
2023-11-24 19:23:44 -05:00
2023-06-12 08:04:04 -06:00
2023-10-24 22:31:04 -04:00
2022-03-29 23:29:19 -04:00
2023-08-24 22:11:29 -04:00
2023-07-31 15:39:39 -04:00
2023-10-10 14:42:22 +09:00
2023-10-11 12:16:13 -07:00
2023-08-24 22:11:29 -04:00
2023-06-16 12:19:59 -04:00
2023-07-25 21:48:13 -04:00
2023-05-22 17:05:19 -04:00
2023-10-13 16:36:20 -04:00
2023-06-16 12:19:59 -04:00
2023-11-02 15:13:50 -10:00
2022-05-08 14:28:18 -04:00
2023-02-21 22:00:32 -05:00
2022-12-01 03:13:55 +00:00
2023-07-05 21:58:10 -04:00
2023-11-02 15:13:50 -10:00
2023-09-28 21:23:18 +09:00
2023-04-27 11:53:57 -07:00
2023-10-11 12:16:13 -07:00
2023-12-05 21:51:37 -05:00
2023-12-05 21:51:37 -05:00
2023-01-13 21:34:09 -05:00
2023-10-13 16:36:20 -04:00
2022-03-08 19:40:01 -07:00
2023-08-24 22:16:28 -04:00
2022-03-08 19:40:00 -07:00
2023-05-31 11:36:40 -04:00
2023-08-30 20:56:24 -04:00
2023-12-05 21:51:37 -05:00
2023-12-05 21:51:37 -05:00
2023-12-05 21:51:38 -05:00
2023-08-24 22:11:29 -04:00
2022-04-06 23:01:54 -04:00
2022-06-07 21:30:56 -04:00
2022-09-25 13:29:53 -04:00
2022-09-25 13:29:53 -04:00
2023-03-24 19:19:59 -04:00
2022-02-22 21:11:07 -05:00
2023-08-24 22:06:44 -04:00
2022-02-22 21:11:07 -05:00
2022-03-30 00:05:42 -04:00
2023-03-24 19:19:22 -04:00