[gustavoars:testing/wfamnae-next20260507 3/21] drivers/scsi/aic94xx/aic94xx_sas.h:323:35: error: field 'ssp_cmd' has incomplete type
From: kernel test robot
Date: Tue May 12 2026 - 09:57:19 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/wfamnae-next20260507
head: 3f5086f83661760934067787b2935c0ef32441f4
commit: 83e5715c9d567ecaf26f0797dc1f874ba1792326 [3/21] scsi: libsas/aci94xx: Avoid multiple -Wflex-array-member-not-at-end warnings
config: parisc-allyesconfig (https://download.01.org/0day-ci/archive/20260512/202605122013.1sGrng4W-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260512/202605122013.1sGrng4W-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202605122013.1sGrng4W-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from drivers/scsi/aic94xx/aic94xx_hwi.h:19,
from drivers/scsi/aic94xx/aic94xx_reg.h:13,
from drivers/scsi/aic94xx/aic94xx_init.c:21:
>> drivers/scsi/aic94xx/aic94xx_sas.h:323:35: error: field 'ssp_cmd' has incomplete type
323 | struct ssp_command_iu_hdr ssp_cmd;
| ^~~~~~~
vim +/ssp_cmd +323 drivers/scsi/aic94xx/aic94xx_sas.h
316
317 /* This is both ssp_task and long_ssp_task
318 */
319 struct initiate_ssp_task {
320 u8 proto_conn_rate; /* proto:6,4, conn_rate:3,0 */
321 __le32 total_xfer_len;
322 struct ssp_frame_hdr ssp_frame;
> 323 struct ssp_command_iu_hdr ssp_cmd;
324 __le16 sister_scb; /* 0xFFFF */
325 __le16 conn_handle; /* index to DDB for the intended target */
326 u8 data_dir; /* :1,0 */
327 #define DATA_DIR_NONE 0x00
328 #define DATA_DIR_IN 0x01
329 #define DATA_DIR_OUT 0x02
330 #define DATA_DIR_BYRECIPIENT 0x03
331
332 u8 _r_a;
333 u8 retry_count;
334 u8 _r_b[5];
335 struct sg_el sg_element[3]; /* 2 real and 1 link */
336 } __attribute__ ((packed));
337
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki