linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the scsi-mkp tree
@ 2017-12-07  3:57 Stephen Rothwell
  2017-12-07  3:59 ` Bart Van Assche
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2017-12-07  3:57 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List,
	Bart Van Assche, Pavel Tikhomirov

Hi Martin,

After merging the scsi-mkp tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "init_rcu_head" [drivers/scsi/scsi_mod.ko] undefined!
ERROR: "destroy_rcu_head" [drivers/scsi/scsi_mod.ko] undefined!

Caused by commit

  ac90420f17c9 ("scsi: core: Ensure that the SCSI error handler gets woken up")

I have used the scsi-mkp tree from next-20171206 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2024-04-12  5:46 Stephen Rothwell
  2024-04-12  6:09 ` Christoph Hellwig
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2024-04-12  5:46 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Christoph Hellwig, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (arm
multi_v7_defconfig) failed like this:

drivers/usb/storage/uas.c: In function 'uas_slave_alloc':
drivers/usb/storage/uas.c:826:17: error: implicit declaration of function 'blk_queue_max_hw_sectors'; did you mean 'queue_max_hw_sectors'? [-Werror=implicit-function-declaration]
  826 |                 blk_queue_max_hw_sectors(sdev->request_queue, 64);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
      |                 queue_max_hw_sectors
cc1: some warnings being treated as errors

Caused by commit

  a2ad002485c4 ("scsi: block: Remove now unused queue limits helpers")

I have used the scsi-mkp tree from next-20240411 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2024-03-27  2:45 Stephen Rothwell
  2024-03-28  0:18 ` Martin K. Petersen
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2024-03-27  2:45 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Igor Pylypiv, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 749 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (arm64
defconfig) failed like this:

aarch64-linux-gnu-ld: drivers/ata/libata-sata.o:drivers/ata/libata-sata.c:900: multiple definition of `dev_attr_ncq_prio_supported'; drivers/scsi/libsas/sas_ata.o:drivers/scsi/libsas/sas_ata.c:984: first defined here
aarch64-linux-gnu-ld: drivers/ata/libata-sata.o:drivers/ata/libata-sata.c:1026: multiple definition of `dev_attr_ncq_prio_enable'; drivers/scsi/libsas/sas_ata.o:drivers/scsi/libsas/sas_ata.c:1022: first defined here

Caused by commit

  b4d3ddd2df75 ("scsi: libsas: Define NCQ Priority sysfs attributes for SATA devices")

I have used the scsi-mkp tree from next-20240326 for today.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2023-08-22  5:32 Stephen Rothwell
  2023-08-23 22:55 ` Stephen Rothwell
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2023-08-22  5:32 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Manish Rangankar, Nilesh Javali, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

ERROR: modpost: "nvme_fc_rcv_ls_req" [drivers/scsi/qla2xxx/qla2xxx.ko] undefined!

Caused by commit

  875386b98857 ("scsi: qla2xxx: Add Unsolicited LS Request and Response Support for NVMe")

# CONFIG_NVME_FC is not set

I have used the scsi-mkp tree from next-20230821 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2023-06-15  3:43 Stephen Rothwell
  2023-06-15  4:19 ` Damien Le Moal
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2023-06-15  3:43 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Damien Le Moal, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 786 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from <command-line>:
./usr/include/linux/ioprio.h:107:8: error: unknown type name '__always_inline'
  107 | static __always_inline __u16 ioprio_value(int class, int level, int hint)
      |        ^~~~~~~~~~~~~~~
./usr/include/linux/ioprio.h:107:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ioprio_value'
  107 | static __always_inline __u16 ioprio_value(int class, int level, int hint)
      |                              ^~~~~~~~~~~~

Caused by commit

  bfaaaa3d9d09 ("scsi: block: Improve ioprio value validity checks")

I have used the scsi-mkp tree from next-20230614 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2023-01-16  2:24 Stephen Rothwell
  2023-01-16 17:55 ` Mike Christie
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2023-01-16  2:24 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Mike Christie, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1181 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/scsi/cxlflash/superpipe.c: In function 'read_cap16':
drivers/scsi/cxlflash/superpipe.c:364:65: error: incompatible type for argument 8 of 'scsi_execute_cmd'
  364 |                                   CMD_BUFSIZE, to, CMD_RETRIES, exec_args);
      |                                                                 ^~~~~~~~~
      |                                                                 |
      |                                                                 struct scsi_exec_args
In file included from include/scsi/scsi_cmnd.h:12,
                 from drivers/scsi/cxlflash/superpipe.c:20:
include/scsi/scsi_device.h:471:51: note: expected 'const struct scsi_exec_args *' but argument is of type 'struct scsi_exec_args'
  471 |                      const struct scsi_exec_args *args);
      |                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~

Caused by commit

  606375f1a869 ("scsi: cxlflash: Convert to scsi_execute_cmd()")

I have used the scsi-mkp tree from next-20230113 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2022-08-24  1:50 Stephen Rothwell
  2022-08-29  4:54 ` Stephen Rothwell
  2022-08-30  2:11 ` Martin K. Petersen
  0 siblings, 2 replies; 79+ messages in thread
From: Stephen Rothwell @ 2022-08-24  1:50 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Sreekanth Reddy, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 3565 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from include/linux/bitmap.h:9,
                 from include/linux/cpumask.h:12,
                 from arch/x86/include/asm/cpumask.h:5,
                 from arch/x86/include/asm/msr.h:11,
                 from arch/x86/include/asm/processor.h:22,
                 from arch/x86/include/asm/cpufeature.h:5,
                 from arch/x86/include/asm/thread_info.h:53,
                 from include/linux/thread_info.h:60,
                 from arch/x86/include/asm/preempt.h:7,
                 from include/linux/preempt.h:78,
                 from include/linux/spinlock.h:55,
                 from include/linux/wait.h:9,
                 from include/linux/wait_bit.h:8,
                 from include/linux/fs.h:6,
                 from include/linux/highmem.h:5,
                 from include/linux/bvec.h:10,
                 from include/linux/blk_types.h:10,
                 from include/linux/blkdev.h:9,
                 from drivers/scsi/mpi3mr/mpi3mr.h:13,
                 from drivers/scsi/mpi3mr/mpi3mr_transport.c:10:
drivers/scsi/mpi3mr/mpi3mr_transport.c: In function 'mpi3mr_update_mr_sas_port':
include/linux/find.h:40:23: error: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Werror=array-bounds]
   40 |                 val = *addr & GENMASK(size - 1, offset);
      |                       ^~~~~
drivers/scsi/mpi3mr/mpi3mr_transport.c:1610:27: note: while referencing 'phys_to_be_added'
 1610 |         u32 phy_mask_xor, phys_to_be_added, phys_to_be_removed;
      |                           ^~~~~~~~~~~~~~~~
In file included from include/linux/bitmap.h:9,
                 from include/linux/cpumask.h:12,
                 from arch/x86/include/asm/cpumask.h:5,
                 from arch/x86/include/asm/msr.h:11,
                 from arch/x86/include/asm/processor.h:22,
                 from arch/x86/include/asm/cpufeature.h:5,
                 from arch/x86/include/asm/thread_info.h:53,
                 from include/linux/thread_info.h:60,
                 from arch/x86/include/asm/preempt.h:7,
                 from include/linux/preempt.h:78,
                 from include/linux/spinlock.h:55,
                 from include/linux/wait.h:9,
                 from include/linux/wait_bit.h:8,
                 from include/linux/fs.h:6,
                 from include/linux/highmem.h:5,
                 from include/linux/bvec.h:10,
                 from include/linux/blk_types.h:10,
                 from include/linux/blkdev.h:9,
                 from drivers/scsi/mpi3mr/mpi3mr.h:13,
                 from drivers/scsi/mpi3mr/mpi3mr_transport.c:10:
include/linux/find.h:40:23: error: array subscript 'long unsigned int[0]' is partly outside array bounds of 'u32[1]' {aka 'unsigned int[1]'} [-Werror=array-bounds]
   40 |                 val = *addr & GENMASK(size - 1, offset);
      |                       ^~~~~
drivers/scsi/mpi3mr/mpi3mr_transport.c:1610:45: note: while referencing 'phys_to_be_removed'
 1610 |         u32 phy_mask_xor, phys_to_be_added, phys_to_be_removed;
      |                                             ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Caused by commit

  434726c4b89c ("scsi: mpi3mr: Refresh SAS ports during soft reset")

I have used the scsi-mkp tree from next-20220823 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2022-04-27  3:38 Stephen Rothwell
  2022-04-27  7:40 ` Sumit Saxena
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2022-04-27  3:38 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Sumit Saxena, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 21867 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (x86_64
allmodconfig) failed like this:

In file included from <command-line>:
./usr/include/scsi/scsi_bsg_mpi3mr.h:96:9: error: unknown type name '__le32'
   96 |         __le32             information_length;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:97:9: error: unknown type name 'u8'
   97 |         u8                 driver_signature[12];
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:98:9: error: unknown type name 'u8'
   98 |         u8                 os_name[16];
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:99:9: error: unknown type name 'u8'
   99 |         u8                 os_version[12];
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:100:9: error: unknown type name 'u8'
  100 |         u8                 driver_name[20];
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:101:9: error: unknown type name 'u8'
  101 |         u8                 driver_version[32];
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:102:9: error: unknown type name 'u8'
  102 |         u8                 driver_release_date[20];
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:103:9: error: unknown type name '__le32'
  103 |         __le32             driver_capabilities;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:128:9: error: unknown type name 'uint32_t'
  128 |         uint32_t adp_type;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:129:9: error: unknown type name 'uint32_t'
  129 |         uint32_t rsvd1;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:130:9: error: unknown type name 'uint32_t'
  130 |         uint32_t pci_dev_id;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:131:9: error: unknown type name 'uint32_t'
  131 |         uint32_t pci_dev_hw_rev;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:132:9: error: unknown type name 'uint32_t'
  132 |         uint32_t pci_subsys_dev_id;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:133:9: error: unknown type name 'uint32_t'
  133 |         uint32_t pci_subsys_ven_id;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:134:9: error: unknown type name 'uint32_t'
  134 |         uint32_t pci_dev:5;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:135:9: error: unknown type name 'uint32_t'
  135 |         uint32_t pci_func:3;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:136:9: error: unknown type name 'uint32_t'
  136 |         uint32_t pci_bus:8;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:137:9: error: unknown type name 'uint16_t'
  137 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:138:9: error: unknown type name 'uint32_t'
  138 |         uint32_t pci_seg_id;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:139:9: error: unknown type name 'uint32_t'
  139 |         uint32_t app_intfc_ver;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:140:9: error: unknown type name 'uint8_t'
  140 |         uint8_t adp_state;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:141:9: error: unknown type name 'uint8_t'
  141 |         uint8_t rsvd3;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:142:9: error: unknown type name 'uint16_t'
  142 |         uint16_t rsvd4;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:143:9: error: unknown type name 'uint32_t'
  143 |         uint32_t rsvd5[2];
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:156:9: error: unknown type name 'uint8_t'
  156 |         uint8_t reset_type;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:157:9: error: unknown type name 'uint8_t'
  157 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:158:9: error: unknown type name 'uint16_t'
  158 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:169:9: error: unknown type name 'uint16_t'
  169 |         uint16_t change_count;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:170:9: error: unknown type name 'uint16_t'
  170 |         uint16_t rsvd;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:185:9: error: unknown type name 'uint16_t'
  185 |         uint16_t handle;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:186:9: error: unknown type name 'uint16_t'
  186 |         uint16_t perst_id;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:187:9: error: unknown type name 'uint32_t'
  187 |         uint32_t target_id;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:188:9: error: unknown type name 'uint8_t'
  188 |         uint8_t bus_id;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:189:9: error: unknown type name 'uint8_t'
  189 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:190:9: error: unknown type name 'uint16_t'
  190 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:203:9: error: unknown type name 'uint16_t'
  203 |         uint16_t num_devices;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:204:9: error: unknown type name 'uint16_t'
  204 |         uint16_t rsvd1;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:205:9: error: unknown type name 'uint32_t'
  205 |         uint32_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:218:9: error: unknown type name 'uint16_t'
  218 |         uint16_t max_entries;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:219:9: error: unknown type name 'uint16_t'
  219 |         uint16_t rsvd;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:231:9: error: unknown type name 'uint16_t'
  231 |         uint16_t pel_locale;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:232:9: error: unknown type name 'uint8_t'
  232 |         uint8_t pel_class;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:233:9: error: unknown type name 'uint8_t'
  233 |         uint8_t rsvd;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:246:9: error: unknown type name 'uint8_t'
  246 |         uint8_t valid_entry;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:247:9: error: unknown type name 'uint8_t'
  247 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:248:9: error: unknown type name 'uint16_t'
  248 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:249:9: error: unknown type name 'uint8_t'
  249 |         uint8_t data[1]; /* Variable length Array */
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:277:9: error: unknown type name 'uint8_t'
  277 |         uint8_t buf_type;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:278:9: error: unknown type name 'uint8_t'
  278 |         uint8_t status;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:279:9: error: unknown type name 'uint8_t'
  279 |         uint8_t trigger_type;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:280:9: error: unknown type name 'uint8_t'
  280 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:281:9: error: unknown type name 'uint16_t'
  281 |         uint16_t size;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:282:9: error: unknown type name 'uint16_t'
  282 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:283:9: error: unknown type name 'uint64_t'
  283 |         uint64_t trigger_data;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:284:9: error: unknown type name 'uint32_t'
  284 |         uint32_t rsvd3;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:285:9: error: unknown type name 'uint32_t'
  285 |         uint32_t rsvd4;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:303:9: error: unknown type name 'uint8_t'
  303 |         uint8_t num_hdb_types;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:304:9: error: unknown type name 'uint8_t'
  304 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:305:9: error: unknown type name 'uint16_t'
  305 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:306:9: error: unknown type name 'uint32_t'
  306 |         uint32_t rsvd3;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:319:9: error: unknown type name 'uint8_t'
  319 |         uint8_t buf_type;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:320:9: error: unknown type name 'uint8_t'
  320 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:321:9: error: unknown type name 'uint16_t'
  321 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:335:9: error: unknown type name 'uint8_t'
  335 |         uint8_t buf_type;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:336:9: error: unknown type name 'uint8_t'
  336 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:337:9: error: unknown type name 'uint16_t'
  337 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:338:9: error: unknown type name 'uint32_t'
  338 |         uint32_t start_offset;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:339:9: error: unknown type name 'uint32_t'
  339 |         uint32_t length;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:351:9: error: unknown type name 'uint8_t'
  351 |         uint8_t page_type;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:352:9: error: unknown type name 'uint8_t'
  352 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:353:9: error: unknown type name 'uint16_t'
  353 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:365:9: error: unknown type name 'uint8_t'
  365 |         uint8_t mrioc_id;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:366:9: error: unknown type name 'uint8_t'
  366 |         uint8_t opcode;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:367:9: error: unknown type name 'uint16_t'
  367 |         uint16_t rsvd1;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:368:9: error: unknown type name 'uint32_t'
  368 |         uint32_t rsvd2[4];
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:380:9: error: unknown type name 'uint8_t'
  380 |         uint8_t mpi_reply_type;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:381:9: error: unknown type name 'uint8_t'
  381 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:382:9: error: unknown type name 'uint16_t'
  382 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:383:9: error: unknown type name 'uint8_t'
  383 |         uint8_t reply_buf[1];
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:396:9: error: unknown type name 'uint8_t'
  396 |         uint8_t buf_type;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:397:9: error: unknown type name 'uint8_t'
  397 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:398:9: error: unknown type name 'uint16_t'
  398 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:399:9: error: unknown type name 'uint32_t'
  399 |         uint32_t buf_len;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:412:9: error: unknown type name 'uint8_t'
  412 |         uint8_t num_of_entries;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:413:9: error: unknown type name 'uint8_t'
  413 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:414:9: error: unknown type name 'uint16_t'
  414 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:415:9: error: unknown type name 'uint32_t'
  415 |         uint32_t rsvd3;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:428:9: error: unknown type name 'uint8_t'
  428 |         uint8_t mrioc_id;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:429:9: error: unknown type name 'uint8_t'
  429 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:430:9: error: unknown type name 'uint16_t'
  430 |         uint16_t timeout;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:431:9: error: unknown type name 'uint32_t'
  431 |         uint32_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:446:9: error: unknown type name 'uint8_t'
  446 |         uint8_t cmd_type;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:447:9: error: unknown type name 'uint8_t'
  447 |         uint8_t rsvd1;
      |         ^~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:448:9: error: unknown type name 'uint16_t'
  448 |         uint16_t rsvd2;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:449:9: error: unknown type name 'uint32_t'
  449 |         uint32_t rsvd3;
      |         ^~~~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:463:9: error: unknown type name '__le16'
  463 |         __le16                     host_tag;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:464:9: error: unknown type name 'u8'
  464 |         u8                         ioc_use_only02;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:465:9: error: unknown type name 'u8'
  465 |         u8                         function;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:466:9: error: unknown type name '__le16'
  466 |         __le16                     ioc_use_only04;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:467:9: error: unknown type name 'u8'
  467 |         u8                         ioc_use_only06;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:468:9: error: unknown type name 'u8'
  468 |         u8                         msg_flags;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:469:9: error: unknown type name '__le16'
  469 |         __le16                     change_count;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:470:9: error: unknown type name '__le16'
  470 |         __le16                     dev_handle;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:471:9: error: unknown type name '__le16'
  471 |         __le16                     encapsulated_command_length;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:472:9: error: unknown type name '__le16'
  472 |         __le16                     flags;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:473:9: error: unknown type name '__le32'
  473 |         __le32                     data_length;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:474:9: error: unknown type name '__le32'
  474 |         __le32                     reserved14[3];
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:475:9: error: unknown type name '__le32'
  475 |         __le32                     command[MPI3_NVME_ENCAP_CMD_MAX];
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:479:9: error: unknown type name '__le16'
  479 |         __le16                     host_tag;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:480:9: error: unknown type name 'u8'
  480 |         u8                         ioc_use_only02;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:481:9: error: unknown type name 'u8'
  481 |         u8                         function;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:482:9: error: unknown type name '__le16'
  482 |         __le16                     ioc_use_only04;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:483:9: error: unknown type name 'u8'
  483 |         u8                         ioc_use_only06;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:484:9: error: unknown type name 'u8'
  484 |         u8                         msg_flags;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:485:9: error: unknown type name '__le16'
  485 |         __le16                     ioc_use_only08;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:486:9: error: unknown type name '__le16'
  486 |         __le16                     ioc_status;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:487:9: error: unknown type name '__le32'
  487 |         __le32                     ioc_log_info;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:488:9: error: unknown type name '__le32'
  488 |         __le32                     nvme_completion_entry[4];
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:501:9: error: unknown type name '__le16'
  501 |         __le16                     host_tag;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:502:9: error: unknown type name 'u8'
  502 |         u8                         ioc_use_only02;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:503:9: error: unknown type name 'u8'
  503 |         u8                         function;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:504:9: error: unknown type name '__le16'
  504 |         __le16                     ioc_use_only04;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:505:9: error: unknown type name 'u8'
  505 |         u8                         ioc_use_only06;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:506:9: error: unknown type name 'u8'
  506 |         u8                         msg_flags;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:507:9: error: unknown type name '__le16'
  507 |         __le16                     change_count;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:508:9: error: unknown type name '__le16'
  508 |         __le16                     dev_handle;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:509:9: error: unknown type name '__le16'
  509 |         __le16                     task_host_tag;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:510:9: error: unknown type name 'u8'
  510 |         u8                         task_type;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:511:9: error: unknown type name 'u8'
  511 |         u8                         reserved0f;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:512:9: error: unknown type name '__le16'
  512 |         __le16                     task_request_queue_id;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:513:9: error: unknown type name '__le16'
  513 |         __le16                     reserved12;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:514:9: error: unknown type name '__le32'
  514 |         __le32                     reserved14;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:515:9: error: unknown type name 'u8'
  515 |         u8                         lun[8];
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:530:9: error: unknown type name '__le16'
  530 |         __le16                     host_tag;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:531:9: error: unknown type name 'u8'
  531 |         u8                         ioc_use_only02;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:532:9: error: unknown type name 'u8'
  532 |         u8                         function;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:533:9: error: unknown type name '__le16'
  533 |         __le16                     ioc_use_only04;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:534:9: error: unknown type name 'u8'
  534 |         u8                         ioc_use_only06;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:535:9: error: unknown type name 'u8'
  535 |         u8                         msg_flags;
      |         ^~
./usr/include/scsi/scsi_bsg_mpi3mr.h:536:9: error: unknown type name '__le16'
  536 |         __le16                     ioc_use_only08;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:537:9: error: unknown type name '__le16'
  537 |         __le16                     ioc_status;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:538:9: error: unknown type name '__le32'
  538 |         __le32                     ioc_log_info;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:539:9: error: unknown type name '__le32'
  539 |         __le32                     termination_count;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:540:9: error: unknown type name '__le32'
  540 |         __le32                     response_data;
      |         ^~~~~~
./usr/include/scsi/scsi_bsg_mpi3mr.h:541:9: error: unknown type name '__le32'
  541 |         __le32                     reserved18;
      |         ^~~~~~

Caused by commit

  a212ebe7d4b1 ("scsi: mpi3mr: Add support for driver commands")
  455aac4f7a13 ("scsi: mpi3mr: Move data structures/definitions from MPI headers to uapi header")

I used the scsi-mkp tree from next-20220426 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2021-08-17  9:47 Stephen Rothwell
  2021-08-17  9:51 ` John Garry
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2021-08-17  9:47 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: John Garry, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1462 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

In file included from include/linux/byteorder/big_endian.h:5,
                 from arch/powerpc/include/uapi/asm/byteorder.h:14,
                 from include/asm-generic/bitops/le.h:7,
                 from arch/powerpc/include/asm/bitops.h:265,
                 from include/linux/bitops.h:33,
                 from include/linux/kernel.h:12,
                 from include/linux/list.h:9,
                 from include/linux/module.h:12,
                 from drivers/scsi/ibmvscsi/ibmvfc.c:10:
drivers/scsi/ibmvscsi/ibmvfc.c: In function 'ibmvfc_queuecommand':
drivers/scsi/ibmvscsi/ibmvfc.c:1959:39: error: 'struct scsi_cmnd' has no member named 'tag'
 1959 |   vfc_cmd->task_tag = cpu_to_be64(cmnd->tag);
      |                                       ^~
include/uapi/linux/byteorder/big_endian.h:37:51: note: in definition of macro '__cpu_to_be64'
   37 | #define __cpu_to_be64(x) ((__force __be64)(__u64)(x))
      |                                                   ^
drivers/scsi/ibmvscsi/ibmvfc.c:1959:23: note: in expansion of macro 'cpu_to_be64'
 1959 |   vfc_cmd->task_tag = cpu_to_be64(cmnd->tag);
      |                       ^~~~~~~~~~~

Caused by commit

  c7c43e3c7147 ("scsi: core: Remove scsi_cmnd.tag")

I have used the scsi-mkp tree from next-20210816 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2021-05-27  3:47 Stephen Rothwell
  0 siblings, 0 replies; 79+ messages in thread
From: Stephen Rothwell @ 2021-05-27  3:47 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Hannes Reinecke, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/scsi/pcmcia/nsp_cs.c: In function 'nsp_queuecommand_lck':
drivers/scsi/pcmcia/nsp_cs.c:224:22: error: 'CHECK_CONDITION' undeclared (first use in this function)
  224 |  SCpnt->SCp.Status = CHECK_CONDITION;
      |                      ^~~~~~~~~~~~~~~

Caused by commit

  57de15221f92 ("scsi: core: Drop obsolete Linux-specific SCSI status codes")

I have used the scsi-mkp tree from next-20210526 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2021-03-12  3:17 Stephen Rothwell
  2021-03-12  3:20 ` Jens Axboe
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2021-03-12  3:17 UTC (permalink / raw)
  To: Martin K. Petersen, Jens Axboe
  Cc: Christoph Hellwig, Douglas Gilbert, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:


drivers/scsi/sg.c: In function 'sg_mk_kern_bio':
drivers/scsi/sg.c:2958:17: error: 'BIO_MAX_PAGES' undeclared (first use in this function); did you mean 'BIO_MAX_VECS'?
 2958 |  if (bvec_cnt > BIO_MAX_PAGES)
      |                 ^~~~~~~~~~~~~
      |                 BIO_MAX_VECS

Caused by commit

  b32ac463cb59 ("scsi: sg: NO_DXFER move to/from kernel buffers")

interacting with commit

  a8affc03a9b3 ("block: rename BIO_MAX_PAGES to BIO_MAX_VECS")

from the block tree.

I have applied the following merge fix patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Fri, 12 Mar 2021 14:11:16 +1100
Subject: [PATCH] scsi: sg: fix up for BIO_MAX_PAGES rename

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/scsi/sg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/sg.c b/drivers/scsi/sg.c
index 2d4bbc1a1727..6b31b2bc8f9a 100644
--- a/drivers/scsi/sg.c
+++ b/drivers/scsi/sg.c
@@ -2955,7 +2955,7 @@ sg_mk_kern_bio(int bvec_cnt)
 {
 	struct bio *biop;
 
-	if (bvec_cnt > BIO_MAX_PAGES)
+	if (bvec_cnt > BIO_MAX_VECS)
 		return NULL;
 	biop = bio_alloc(GFP_ATOMIC, bvec_cnt);
 	if (!biop)
-- 
2.30.0

Jens, maybe you could create a topic branch with that block tree change
in it (and any other necessary ones) for Martin to merge into his tree.
Of course, you should do that be rebasing it onto v5.12-rc2 first to
get rid of the swapfile booby trap.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2021-01-25  4:13 Stephen Rothwell
  2021-01-25  5:53 ` Douglas Gilbert
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2021-01-25  4:13 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Douglas Gilbert, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1428 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/scsi/sg.c: In function 'sg_find_srp_by_id':
drivers/scsi/sg.c:2908:4: error: expected '}' before 'else'
 2908 |    else
      |    ^~~~
drivers/scsi/sg.c:2902:16: warning: unused variable 'cptp' [-Wunused-variable]
 2902 |    const char *cptp = "pack_id=";
      |                ^~~~
drivers/scsi/sg.c:2896:5: error: label 'good' used but not defined
 2896 |     goto good;
      |     ^~~~
drivers/scsi/sg.c: At top level:
drivers/scsi/sg.c:2913:2: error: expected identifier or '(' before 'return'
 2913 |  return NULL;
      |  ^~~~~~
drivers/scsi/sg.c:2914:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
 2914 | good:
      |     ^
drivers/scsi/sg.c:2917:2: error: expected identifier or '(' before 'return'
 2917 |  return srp;
      |  ^~~~~~
drivers/scsi/sg.c:2918:1: error: expected identifier or '(' before '}' token
 2918 | }
      | ^
drivers/scsi/sg.c: In function 'sg_find_srp_by_id':
drivers/scsi/sg.c:2912:2: error: control reaches end of non-void function [-Werror=return-type]
 2912 |  }
      |  ^

Caused by commit

  7323ad3618b6 ("scsi: sg: Replace rq array with xarray")

SG_LOG() degenerates to "{}" in some configs ...

I have used the scsi-mkp tree from next-20210122 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2020-12-08  9:28 Stephen Rothwell
  2020-12-08  9:30 ` Christoph Hellwig
  2020-12-08  9:38 ` Stephen Rothwell
  0 siblings, 2 replies; 79+ messages in thread
From: Stephen Rothwell @ 2020-12-08  9:28 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Alan Stern, Bart Van Assche, Can Guo, Christoph Hellwig,
	Hannes Reinecke, Jens Axboe, Stanley Chu,
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1997 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (sparc64
defconfig) failed like this:

drivers/mtd/nand/raw/intel-nand-controller.c:17:10: fatal error: linux/mtd/nand_ecc.h: No such file or directory
   17 | #include <linux/mtd/nand_ecc.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~

Caused by commit

  81a395cdc176 ("scsi: block: Do not accept any requests while suspended")

# CONFIG_PM is not set

I have applied the following patch:

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 8 Dec 2020 20:12:33 +1100
Subject: [PATCH] scsi: block: fix for "scsi: block: Do not accept any requests while suspended"

Fixes: 81a395cdc176 ("scsi: block: Do not accept any requests while suspended")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 block/blk-core.c | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/block/blk-core.c b/block/blk-core.c
index a71a5c9429d6..9c9aec1382be 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -421,6 +421,18 @@ void blk_cleanup_queue(struct request_queue *q)
 }
 EXPORT_SYMBOL(blk_cleanup_queue);
 
+#ifdef CONFIG_PM
+static bool rq_suspended(struct request_queue *q)
+{
+	return q->rpm_status == RPM_SUSPENDED;
+}
+#else
+static bool rq_suspended(struct request_queue *q)
+{
+	return false;
+}
+#endif
+
 /**
  * blk_queue_enter() - try to increase q->q_usage_counter
  * @q: request queue pointer
@@ -440,12 +452,10 @@ int blk_queue_enter(struct request_queue *q, blk_mq_req_flags_t flags)
 			 * responsible for ensuring that that counter is
 			 * globally visible before the queue is unfrozen.
 			 */
-			if ((pm && q->rpm_status != RPM_SUSPENDED) ||
-			    !blk_queue_pm_only(q)) {
+			if ((pm && !rq_suspended(q)) || !blk_queue_pm_only(q))
 				success = true;
-			} else {
+			else
 				percpu_ref_put(&q->q_usage_counter);
-			}
 		}
 		rcu_read_unlock();
 
-- 
2.29.2



-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2020-07-21  6:30 Stephen Rothwell
  2020-07-23  5:54 ` Stephen Rothwell
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2020-07-21  6:30 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Kiwoong Kim

[-- Attachment #1: Type: text/plain, Size: 1427 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: modpost: "exynos_ufs_dump_info" [drivers/scsi/ufs/ufs-exynos.ko] undefined!
ERROR: modpost: "exynos_ufs_init_dbg" [drivers/scsi/ufs/ufs-exynos.ko] undefined!
ERROR: modpost: "exynos_ufs_cmd_log_start" [drivers/scsi/ufs/ufs-exynos.ko] undefined!

Caused by commits

  c3b5e96ef515 ("scsi: ufs: exynos: Introduce command history")
  957ee40d413b ("scsi: ufs: exynos: Implement dbg_register_dump")

I applied the following patch for now.

From 6535b25fb253c7f25bf924655edb2b22fdaeb545 Mon Sep 17 00:00:00 2001
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Tue, 21 Jul 2020 16:26:05 +1000
Subject: [PATCH] scsi: ufs: exynos: mark debugging as broken

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/scsi/ufs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/scsi/ufs/Kconfig b/drivers/scsi/ufs/Kconfig
index 2c31b33f0adc..925f8de62f6d 100644
--- a/drivers/scsi/ufs/Kconfig
+++ b/drivers/scsi/ufs/Kconfig
@@ -178,6 +178,7 @@ config SCSI_UFS_EXYNOS_DBG
 	bool "EXYNOS specific debug functions"
 	default n
 	depends on SCSI_UFS_EXYNOS
+	depends on BROKEN
 	help
 	  This selects EXYNOS specific functions to get and even print
 	  debug information to see what's happening at both command
-- 
2.27.0

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2020-01-22  4:10 Stephen Rothwell
  2020-01-22  9:51 ` John Garry
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2020-01-22  4:10 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, John Garry

[-- Attachment #1: Type: text/plain, Size: 442 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (x86_64
allmodconfig) failed like this:

ERROR: "irq_create_affinity_masks" [drivers/scsi/hisi_sas/hisi_sas_v2_hw.ko] undefined!
ERROR: "__irq_set_affinity" [drivers/scsi/hisi_sas/hisi_sas_v2_hw.ko] undefined!

Caused by commit

  3869a618eb88 ("scsi: hisi_sas: Use reply map for v2 hw")

I have reverted that commit for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2019-10-25  3:07 Stephen Rothwell
  2019-10-25 18:03 ` James Smart
  2019-10-28  5:49 ` Stephen Rothwell
  0 siblings, 2 replies; 79+ messages in thread
From: Stephen Rothwell @ 2019-10-25  3:07 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, James Smart

[-- Attachment #1: Type: text/plain, Size: 1166 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/scsi/lpfc/lpfc_debugfs.c: In function 'lpfc_debugfs_ras_log_release':
drivers/scsi/lpfc/lpfc_debugfs.c:2109:2: error: implicit declaration of function 'vfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration]
 2109 |  vfree(debug->buffer);
      |  ^~~~~
      |  kvfree
drivers/scsi/lpfc/lpfc_debugfs.c: In function 'lpfc_debugfs_ras_log_open':
drivers/scsi/lpfc/lpfc_debugfs.c:2150:18: error: implicit declaration of function 'vmalloc'; did you mean 'kvmalloc'? [-Werror=implicit-function-declaration]
 2150 |  debug->buffer = vmalloc(size);
      |                  ^~~~~~~
      |                  kvmalloc
drivers/scsi/lpfc/lpfc_debugfs.c:2150:16: warning: assignment to 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 2150 |  debug->buffer = vmalloc(size);
      |                ^

Caused by commit

  95bfc6d8ad86 ("scsi: lpfc: Make FW logging dynamically configurable")

I have used the scsi-mkp tree from next-20191024 for today.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2019-04-09  6:27 Stephen Rothwell
  2019-04-10  1:21 ` Stephen Rothwell
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2019-04-09  6:27 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Linux Next Mailing List, Linux Kernel Mailing List, Bart Van Assche

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

Hi all,

After merging the scsi-mkp tree, today's linux-next build (powerpc
allyesconfig) failed like this:

drivers/scsi/qla2xxx/tcm_qla2xxx.c: In function 'tcm_qla2xxx_init_lport':
drivers/scsi/qla2xxx/tcm_qla2xxx.c:1614:3: error: implicit declaration of function 'vzalloc'; did you mean 'kvzalloc'? [-Werror=implicit-function-declaration]
   vzalloc(array_size(65536,
   ^~~~~~~
   kvzalloc
drivers/scsi/qla2xxx/tcm_qla2xxx.c:1613:26: warning: assignment to 'struct tcm_qla2xxx_fc_loopid *' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  lport->lport_loopid_map =
                          ^
drivers/scsi/qla2xxx/tcm_qla2xxx.c: In function 'tcm_qla2xxx_make_lport':
drivers/scsi/qla2xxx/tcm_qla2xxx.c:1677:2: error: implicit declaration of function 'vfree'; did you mean 'kvfree'? [-Werror=implicit-function-declaration]
  vfree(lport->lport_loopid_map);
  ^~~~~
  kvfree

Caused by commit

  523c106ad4b1 ("scsi: tcm_qla2xxx: Minimize #include directives")

I have reverted that commit for today.



-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2018-03-22  6:25 Stephen Rothwell
  2018-03-22 16:33 ` Madhani, Himanshu
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2018-03-22  6:25 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, Darren Trapp,
	Himanshu Madhani, Quinn Tran

[-- Attachment #1: Type: text/plain, Size: 2637 bytes --]

Hi Martin,

After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

drivers/scsi/qla2xxx/qla_gs.c: In function 'qla24xx_async_gnnft_done':
drivers/scsi/qla2xxx/qla_gs.c:3974:7: error: 'fc4type' undeclared (first use in this function); did you mean 'fc4type_t'?
  if ((fc4type == FC4_TYPE_FCP_SCSI) && vha->flags.nvme_enabled)
       ^~~~~~~
       fc4type_t
drivers/scsi/qla2xxx/qla_gs.c:3974:7: note: each undeclared identifier is reported only once for each function it appears in
drivers/scsi/qla2xxx/qla_gs.c:3975:3: error: too few arguments to function 'qla24xx_async_gpnft'
   qla24xx_async_gpnft(vha, FC4_TYPE_NVME);
   ^~~~~~~~~~~~~~~~~~~
In file included from drivers/scsi/qla2xxx/qla_def.h:4633:0,
                 from drivers/scsi/qla2xxx/qla_gs.c:7:
drivers/scsi/qla2xxx/qla_gbl.h:661:5: note: declared here
 int qla24xx_async_gpnft(scsi_qla_host_t *, u8, srb_t *);
     ^~~~~~~~~~~~~~~~~~~

Caused by commit

  33b28357dd00 ("scsi: qla2xxx: Fix Async GPN_FT for FCP and FC-NVMe scan")

interacting with commit

  2b5b96473efc ("scsi: qla2xxx: Fix FC-NVMe LUN discovery")

from Linus' tree.

I have added the following merge fix patch for today. Unfortunately it
produces this warning, so a better merge resolution is needed ...

drivers/scsi/qla2xxx/qla_gs.c: In function 'qla24xx_async_gnnft_done':
drivers/scsi/qla2xxx/qla_gs.c:3974:9: warning: 'rp' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if ((rp->fc4type == FC4_TYPE_FCP_SCSI) && vha->flags.nvme_enabled)
       ~~^~~~~~~~~


From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 22 Mar 2018 17:09:38 +1100
Subject: [PATCH] scsi: qla2xxx: merge fix in qla_gs.c

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 drivers/scsi/qla2xxx/qla_gs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_gs.c b/drivers/scsi/qla2xxx/qla_gs.c
index f84807e850c3..d33f4619332e 100644
--- a/drivers/scsi/qla2xxx/qla_gs.c
+++ b/drivers/scsi/qla2xxx/qla_gs.c
@@ -3971,8 +3971,8 @@ void qla24xx_async_gnnft_done(scsi_qla_host_t *vha, srb_t *sp)
 	vha->scan.scan_flags &= ~SF_SCANNING;
 	spin_unlock_irqrestore(&vha->work_lock, flags);
 
-	if ((fc4type == FC4_TYPE_FCP_SCSI) && vha->flags.nvme_enabled)
-		qla24xx_async_gpnft(vha, FC4_TYPE_NVME);
+	if ((rp->fc4type == FC4_TYPE_FCP_SCSI) && vha->flags.nvme_enabled)
+		qla24xx_async_gpnft(vha, FC4_TYPE_NVME, NULL);
 }
 
 static void qla2x00_find_free_fcp_nvme_slot(struct scsi_qla_host *vha,
-- 
2.16.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2017-05-17  2:57 Stephen Rothwell
  0 siblings, 0 replies; 79+ messages in thread
From: Stephen Rothwell @ 2017-05-17  2:57 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: Linux-Next Mailing List, Linux Kernel Mailing List, James Smart,
	Dick Kennedy, Hannes Reinecke

Hi Martin,

After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

ERROR: ".nvmet_fc_rcv_fcp_req" [drivers/scsi/lpfc/lpfc.ko] undefined!

Caused by commit

  a8cf5dfeb4d8 ("scsi: lpfc: Added recovery logic for running out of NVMET IO context resources")

CONFIG_NVME_TARGET_FC is not set for this build.

I have used the scsi-mkp tree from next-20170516 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2017-02-23  3:12 Stephen Rothwell
  2017-02-23 14:19 ` Martin K. Petersen
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2017-02-23  3:12 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: linux-next, linux-kernel, Nilesh Javali, Manish Rangankar,
	Saurav Kashyap, Arun Easi, Chad Dupuis

Hi Martin,

After merging the scsi-mkp tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/scsi/qedf/qedf_io.c: In function 'qedf_trace_io':
drivers/scsi/qedf/qedf_io.c:1001:33: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Werror=incompatible-pointer-types]
  io_log->refcount = atomic_read(&io_req->refcount.refcount);
                                 ^
In file included from arch/x86/include/asm/msr.h:66:0,
                 from arch/x86/include/asm/processor.h:20,
                 from arch/x86/include/asm/cpufeature.h:4,
                 from arch/x86/include/asm/thread_info.h:52,
                 from include/linux/thread_info.h:25,
                 from arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from drivers/scsi/qedf/qedf_io.c:9:
arch/x86/include/asm/atomic.h:24:28: note: expected 'const atomic_t * {aka const struct <anonymous> *}' but argument is of type 'refcount_t * {aka struct refcount_struct *}'
 static __always_inline int atomic_read(const atomic_t *v)
                            ^
drivers/scsi/qedf/qedf_io.c: In function 'qedf_scsi_completion':
drivers/scsi/qedf/qedf_io.c:1343:27: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Werror=incompatible-pointer-types]
    refcount = atomic_read(&io_req->refcount.refcount);
                           ^
In file included from arch/x86/include/asm/msr.h:66:0,
                 from arch/x86/include/asm/processor.h:20,
                 from arch/x86/include/asm/cpufeature.h:4,
                 from arch/x86/include/asm/thread_info.h:52,
                 from include/linux/thread_info.h:25,
                 from arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from drivers/scsi/qedf/qedf_io.c:9:
arch/x86/include/asm/atomic.h:24:28: note: expected 'const atomic_t * {aka const struct <anonymous> *}' but argument is of type 'refcount_t * {aka struct refcount_struct *}'
 static __always_inline int atomic_read(const atomic_t *v)
                            ^
drivers/scsi/qedf/qedf_io.c: In function 'qedf_scsi_done':
drivers/scsi/qedf/qedf_io.c:1428:25: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Werror=incompatible-pointer-types]
  refcount = atomic_read(&io_req->refcount.refcount);
                         ^
In file included from arch/x86/include/asm/msr.h:66:0,
                 from arch/x86/include/asm/processor.h:20,
                 from arch/x86/include/asm/cpufeature.h:4,
                 from arch/x86/include/asm/thread_info.h:52,
                 from include/linux/thread_info.h:25,
                 from arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from drivers/scsi/qedf/qedf_io.c:9:
arch/x86/include/asm/atomic.h:24:28: note: expected 'const atomic_t * {aka const struct <anonymous> *}' but argument is of type 'refcount_t * {aka struct refcount_struct *}'
 static __always_inline int atomic_read(const atomic_t *v)
                            ^
In file included from drivers/scsi/qedf/qedf.h:28:0,
                 from drivers/scsi/qedf/qedf_io.c:11:
drivers/scsi/qedf/qedf_io.c: In function 'qedf_flush_els_req':
drivers/scsi/qedf/qedf_io.c:1559:18: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Werror=incompatible-pointer-types]
      atomic_read(&els_req->refcount.refcount));
                  ^
drivers/scsi/qedf/qedf_dbg.h:83:13: note: in definition of macro 'QEDF_INFO'
          ## __VA_ARGS__)
             ^
In file included from arch/x86/include/asm/msr.h:66:0,
                 from arch/x86/include/asm/processor.h:20,
                 from arch/x86/include/asm/cpufeature.h:4,
                 from arch/x86/include/asm/thread_info.h:52,
                 from include/linux/thread_info.h:25,
                 from arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from drivers/scsi/qedf/qedf_io.c:9:
arch/x86/include/asm/atomic.h:24:28: note: expected 'const atomic_t * {aka const struct <anonymous> *}' but argument is of type 'refcount_t * {aka struct refcount_struct *}'
 static __always_inline int atomic_read(const atomic_t *v)
                            ^
drivers/scsi/qedf/qedf_els.c: In function 'qedf_rrq_compl':
drivers/scsi/qedf/qedf_els.c:186:25: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Werror=incompatible-pointer-types]
  refcount = atomic_read(&orig_io_req->refcount.refcount);
                         ^
In file included from arch/x86/include/asm/msr.h:66:0,
                 from arch/x86/include/asm/processor.h:20,
                 from arch/x86/include/asm/cpufeature.h:4,
                 from arch/x86/include/asm/thread_info.h:52,
                 from include/linux/thread_info.h:25,
                 from arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/mm_types.h:8,
                 from include/linux/kmemcheck.h:4,
                 from include/linux/skbuff.h:18,
                 from include/linux/if_ether.h:23,
                 from include/linux/etherdevice.h:25,
                 from include/scsi/libfcoe.h:24,
                 from drivers/scsi/qedf/qedf.h:12,
                 from drivers/scsi/qedf/qedf_els.c:9:
arch/x86/include/asm/atomic.h:24:28: note: expected 'const atomic_t * {aka const struct <anonymous> *}' but argument is of type 'refcount_t * {aka struct refcount_struct *}'
 static __always_inline int atomic_read(const atomic_t *v)
                            ^
drivers/scsi/qedf/qedf_els.c: In function 'qedf_srr_compl':
drivers/scsi/qedf/qedf_els.c:477:25: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Werror=incompatible-pointer-types]
  refcount = atomic_read(&orig_io_req->refcount.refcount);
                         ^
In file included from arch/x86/include/asm/msr.h:66:0,
                 from arch/x86/include/asm/processor.h:20,
                 from arch/x86/include/asm/cpufeature.h:4,
                 from arch/x86/include/asm/thread_info.h:52,
                 from include/linux/thread_info.h:25,
                 from arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/mm_types.h:8,
                 from include/linux/kmemcheck.h:4,
                 from include/linux/skbuff.h:18,
                 from include/linux/if_ether.h:23,
                 from include/linux/etherdevice.h:25,
                 from include/scsi/libfcoe.h:24,
                 from drivers/scsi/qedf/qedf.h:12,
                 from drivers/scsi/qedf/qedf_els.c:9:
arch/x86/include/asm/atomic.h:24:28: note: expected 'const atomic_t * {aka const struct <anonymous> *}' but argument is of type 'refcount_t * {aka struct refcount_struct *}'
 static __always_inline int atomic_read(const atomic_t *v)
                            ^
drivers/scsi/qedf/qedf_els.c: In function 'qedf_rec_compl':
drivers/scsi/qedf/qedf_els.c:761:25: error: passing argument 1 of 'atomic_read' from incompatible pointer type [-Werror=incompatible-pointer-types]
  refcount = atomic_read(&orig_io_req->refcount.refcount);
                         ^
In file included from arch/x86/include/asm/msr.h:66:0,
                 from arch/x86/include/asm/processor.h:20,
                 from arch/x86/include/asm/cpufeature.h:4,
                 from arch/x86/include/asm/thread_info.h:52,
                 from include/linux/thread_info.h:25,
                 from arch/x86/include/asm/preempt.h:6,
                 from include/linux/preempt.h:59,
                 from include/linux/spinlock.h:50,
                 from include/linux/mm_types.h:8,
                 from include/linux/kmemcheck.h:4,
                 from include/linux/skbuff.h:18,
                 from include/linux/if_ether.h:23,
                 from include/linux/etherdevice.h:25,
                 from include/scsi/libfcoe.h:24,
                 from drivers/scsi/qedf/qedf.h:12,
                 from drivers/scsi/qedf/qedf_els.c:9:
arch/x86/include/asm/atomic.h:24:28: note: expected 'const atomic_t * {aka const struct <anonymous> *}' but argument is of type 'refcount_t * {aka struct refcount_struct *}'
 static __always_inline int atomic_read(const atomic_t *v)
                            ^

Caused by commit

  61d8658b4a43 ("scsi: qedf: Add QLogic FastLinQ offload FCoE driver framework")

being rebased on top of commit

  10383aea2f44 ("kref: Implement 'struct kref' using refcount_t")

and not using kref_read() to access the refcounts.

I don't understand why you would rebase you work onto Linus' tree in
the middle of the merge window in any case. :-(

I have used the scsi-mkp tree from next-20170221 again.
-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 79+ messages in thread
* linux-next: build failure after merge of the scsi-mkp tree
@ 2017-02-22  2:41 Stephen Rothwell
  2017-02-22 21:06 ` Stephen Rothwell
  0 siblings, 1 reply; 79+ messages in thread
From: Stephen Rothwell @ 2017-02-22  2:41 UTC (permalink / raw)
  To: Martin K. Petersen
  Cc: linux-next, linux-kernel, James Smart, Dick Kennedy, Hannes Reinecke

Hi Martin,

After merging the scsi-mkp tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

ERROR: ".nvme_fc_unregister_remoteport" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: ".nvme_fc_unregister_localport" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: ".nvmet_fc_rcv_ls_req" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: ".nvmet_fc_rcv_fcp_req" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: ".nvme_fc_register_localport" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: ".nvme_fc_register_remoteport" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: ".nvmet_fc_register_targetport" [drivers/scsi/lpfc/lpfc.ko] undefined!
ERROR: ".nvmet_fc_unregister_targetport" [drivers/scsi/lpfc/lpfc.ko] undefined!

Caused by commit

  462896e1808c ("scsi: lpfc: NVME Initiator: bind to nvme_fc api")

# CONFIG_NVME_FC is not set

Presumably a missing dependency.

I have used the scsi-mkp from next-20170221 for today.

-- 
Cheers,
Stephen Rothwell

^ permalink raw reply	[flat|nested] 79+ messages in thread

end of thread, other threads:[~2024-04-12 10:44 UTC | newest]

Thread overview: 79+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-07  3:57 linux-next: build failure after merge of the scsi-mkp tree Stephen Rothwell
2017-12-07  3:59 ` Bart Van Assche
2017-12-07  4:25   ` Stephen Rothwell
2017-12-07  4:42     ` Paul E. McKenney
2017-12-07 17:30       ` Bart Van Assche
2017-12-07 17:40         ` Paul E. McKenney
2017-12-07 20:34           ` Stephen Rothwell
2017-12-07 21:10             ` Paul E. McKenney
2017-12-07 21:11             ` Martin K. Petersen
2017-12-08  1:00               ` Martin K. Petersen
2017-12-11 17:43                 ` Paul E. McKenney
  -- strict thread matches above, loose matches on Subject: below --
2024-04-12  5:46 Stephen Rothwell
2024-04-12  6:09 ` Christoph Hellwig
2024-04-12 10:22   ` Martin K. Petersen
2024-04-12 10:44     ` Martin K. Petersen
2024-03-27  2:45 Stephen Rothwell
2024-03-28  0:18 ` Martin K. Petersen
2023-08-22  5:32 Stephen Rothwell
2023-08-23 22:55 ` Stephen Rothwell
2023-08-23 22:59   ` Martin K. Petersen
2023-06-15  3:43 Stephen Rothwell
2023-06-15  4:19 ` Damien Le Moal
2023-06-16 16:51   ` Martin K. Petersen
2023-01-16  2:24 Stephen Rothwell
2023-01-16 17:55 ` Mike Christie
2023-01-16 18:07   ` Martin K. Petersen
2022-08-24  1:50 Stephen Rothwell
2022-08-29  4:54 ` Stephen Rothwell
2022-08-30  2:11 ` Martin K. Petersen
2022-04-27  3:38 Stephen Rothwell
2022-04-27  7:40 ` Sumit Saxena
2022-04-27  8:28   ` Stephen Rothwell
2021-08-17  9:47 Stephen Rothwell
2021-08-17  9:51 ` John Garry
2021-08-18  3:07   ` Bart Van Assche
2021-08-18 11:41     ` John Garry
2021-05-27  3:47 Stephen Rothwell
2021-03-12  3:17 Stephen Rothwell
2021-03-12  3:20 ` Jens Axboe
2021-01-25  4:13 Stephen Rothwell
2021-01-25  5:53 ` Douglas Gilbert
2021-01-27  7:01   ` Stephen Rothwell
2021-01-27 17:10     ` Douglas Gilbert
2020-12-08  9:28 Stephen Rothwell
2020-12-08  9:30 ` Christoph Hellwig
2020-12-08 10:01   ` Stephen Rothwell
2020-12-08  9:38 ` Stephen Rothwell
2020-12-08 17:55   ` Alan Stern
2020-12-08 19:56     ` Bart Van Assche
2020-07-21  6:30 Stephen Rothwell
2020-07-23  5:54 ` Stephen Rothwell
2020-07-23 15:01   ` Martin K. Petersen
2020-07-24  4:21     ` Kiwoong Kim
2020-01-22  4:10 Stephen Rothwell
2020-01-22  9:51 ` John Garry
2020-01-23  2:22   ` Martin K. Petersen
2019-10-25  3:07 Stephen Rothwell
2019-10-25 18:03 ` James Smart
2019-10-28  5:49 ` Stephen Rothwell
2019-10-29  2:28   ` Martin K. Petersen
2019-10-29  2:48     ` Stephen Rothwell
2019-04-09  6:27 Stephen Rothwell
2019-04-10  1:21 ` Stephen Rothwell
2019-04-10  1:33   ` Martin K. Petersen
2019-04-10  4:04     ` James Bottomley
2019-04-10  4:57       ` Stephen Rothwell
2018-03-22  6:25 Stephen Rothwell
2018-03-22 16:33 ` Madhani, Himanshu
2017-05-17  2:57 Stephen Rothwell
2017-02-23  3:12 Stephen Rothwell
2017-02-23 14:19 ` Martin K. Petersen
2017-02-23 15:04   ` Chad Dupuis
2017-02-22  2:41 Stephen Rothwell
2017-02-22 21:06 ` Stephen Rothwell
2017-02-22 21:10   ` Martin K. Petersen
2017-02-22 21:13     ` James Bottomley
2017-02-22 21:17       ` Martin K. Petersen
2017-02-27  1:54   ` Stephen Rothwell
2017-02-27 15:25     ` James Bottomley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).