From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84487386452 for ; Tue, 3 Mar 2026 19:04:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772564686; cv=none; b=XqYfSeGzBNsDQCIEh2xzhFtAgtJB+Yklx/Y/9WcImHKp0T8MBismmF+NlXovGWzfNQb/8MpZXrPKbFKVs5RNaa8ocTOf85RgIT3ob0m9Iw7406rUUCbRHsadU6vpgPK/mybEfswc06YMtBqkzbMLyNh1NgXy7z9GUuySfFm/6tY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772564686; c=relaxed/simple; bh=N6X+iuK3TCmh475f3xCAX19glHaLVnP4jp9pYR31bLg=; h=Date:From:To:Cc:Subject:Message-ID; b=b2d/gDIv/jqGBHZgQ26jM0zAH79aFM/w+WT8AwzB/6hGyu9QHFQLK5iey6LKyqx/KHPJ2XVwHt/vavhdTYLiPyq9HGt7ZPth0eLx2i6WMe1xNcLtFolFNkmUyItB6XhTMhX3FWlzMDG8H+jUJYyaLFljOYECK0LEKrTjO/1FGmw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=e79OHNpw; arc=none smtp.client-ip=192.198.163.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="e79OHNpw" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1772564683; x=1804100683; h=date:from:to:cc:subject:message-id; bh=N6X+iuK3TCmh475f3xCAX19glHaLVnP4jp9pYR31bLg=; b=e79OHNpwxBBwwxoOjL9j870UjERw1ZIenGn5fw/6ySaJ073kCbnDg0Pt yPlzaWGmCEXAs2xLxi5BqgRHJNhvM9ZxkQ5yqltcyT8i7DRY1zGfz44Ul cMr7Mjy40QrpRxjpkSZlGmXZSUIvAI07nEGeJ1RmQQ4SYAW0nRo3WKjIi 1176TIuSWAfsXXjsveCQlhkObv9u/kOo+1J7FXoX0aTMQMVaIMAISLhD8 GY+llvpG5E/8wJITFo2hX6qDM4cy8AXZVx7J0cWCZelfw2mSqC9rhheg9 Lal8mQRxo4h8/D4QJaEPWQFzNr00UZhhU6GKp51mYnHry1HQC/vI2eFye A==; X-CSE-ConnectionGUID: nfPJ4oK0ScK/nrh0kQqJjA== X-CSE-MsgGUID: fpyPTdBkRPSa7eLAK999+g== X-IronPort-AV: E=McAfee;i="6800,10657,11718"; a="84958590" X-IronPort-AV: E=Sophos;i="6.21,322,1763452800"; d="scan'208";a="84958590" Received: from orviesa009.jf.intel.com ([10.64.159.149]) by fmvoesa104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Mar 2026 11:04:43 -0800 X-CSE-ConnectionGUID: GZu1jhOsTG69L8wRVilkow== X-CSE-MsgGUID: fEcr15/LTOaGy+/x2qrghQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,322,1763452800"; d="scan'208";a="218046443" Received: from lkp-server01.sh.intel.com (HELO f27a57aa7a36) ([10.239.97.150]) by orviesa009.jf.intel.com with ESMTP; 03 Mar 2026 11:04:41 -0800 Received: from kbuild by f27a57aa7a36 with local (Exim 4.98.2) (envelope-from ) id 1vxV2r-000000002iF-3fpw; Tue, 03 Mar 2026 19:04:37 +0000 Date: Wed, 04 Mar 2026 03:04:27 +0800 From: kernel test robot To: "Gustavo A. R. Silva" Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev, "Gustavo A. R. Silva" , LKML Subject: [gustavoars:testing/wfamnae-next20260302 4/12] drivers/scsi/aic94xx/aic94xx_sas.h:323:28: error: field has incomplete type 'struct ssp_command_iu_hdr' Message-ID: <202603040331.C4EM02yD-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/wfamnae-next20260302 head: 759ff201de93e9bf74683ac6d4414b9141b12c27 commit: 052ea0d6ef438e32950d71cec77517e300b94872 [4/12] scsi: libsas/aci94xx: Avoid multiple -Wflex-array-member-not-at-end warnings config: sparc64-allmodconfig (https://download.01.org/0day-ci/archive/20260304/202603040331.C4EM02yD-lkp@intel.com/config) compiler: clang version 23.0.0git (https://github.com/llvm/llvm-project 9a109fbb6e184ec9bcce10615949f598f4c974a9) reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260304/202603040331.C4EM02yD-lkp@intel.com/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 | Closes: https://lore.kernel.org/oe-kbuild-all/202603040331.C4EM02yD-lkp@intel.com/ All errors (new ones prefixed by >>): In file included from drivers/scsi/aic94xx/aic94xx_init.c:21: In file included from drivers/scsi/aic94xx/aic94xx_reg.h:13: In file included from drivers/scsi/aic94xx/aic94xx_hwi.h:19: >> drivers/scsi/aic94xx/aic94xx_sas.h:323:28: error: field has incomplete type 'struct ssp_command_iu_hdr' 323 | struct ssp_command_iu_hdr ssp_cmd; | ^ drivers/scsi/aic94xx/aic94xx_sas.h:323:9: note: forward declaration of 'struct ssp_command_iu_hdr' 323 | struct ssp_command_iu_hdr ssp_cmd; | ^ 1 error generated. -- In file included from drivers/scsi/aic94xx/aic94xx_hwi.c:16: In file included from drivers/scsi/aic94xx/aic94xx_reg.h:13: In file included from drivers/scsi/aic94xx/aic94xx_hwi.h:19: >> drivers/scsi/aic94xx/aic94xx_sas.h:323:28: error: field has incomplete type 'struct ssp_command_iu_hdr' 323 | struct ssp_command_iu_hdr ssp_cmd; | ^ drivers/scsi/aic94xx/aic94xx_sas.h:323:9: note: forward declaration of 'struct ssp_command_iu_hdr' 323 | struct ssp_command_iu_hdr ssp_cmd; | ^ >> drivers/scsi/aic94xx/aic94xx_hwi.c:342:40: error: no member named 'escb' in 'struct scb' 342 | struct empty_scb *escb = &ascb->scb->escb; | ~~~~~~~~~ ^ 2 errors generated. -- In file included from drivers/scsi/aic94xx/aic94xx_scb.c:13: In file included from drivers/scsi/aic94xx/aic94xx_reg.h:13: In file included from drivers/scsi/aic94xx/aic94xx_hwi.h:19: >> drivers/scsi/aic94xx/aic94xx_sas.h:323:28: error: field has incomplete type 'struct ssp_command_iu_hdr' 323 | struct ssp_command_iu_hdr ssp_cmd; | ^ drivers/scsi/aic94xx/aic94xx_sas.h:323:9: note: forward declaration of 'struct ssp_command_iu_hdr' 323 | struct ssp_command_iu_hdr ssp_cmd; | ^ >> drivers/scsi/aic94xx/aic94xx_scb.c:369:39: error: no member named 'escb' in 'struct scb' 369 | struct empty_scb *escb = &ascb->scb->escb; | ~~~~~~~~~ ^ >> drivers/scsi/aic94xx/aic94xx_scb.c:631:42: error: no member named 'control_phy' in 'struct scb' 631 | struct control_phy *control_phy = &scb->control_phy; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_scb.c:770:42: error: no member named 'control_phy' in 'struct scb' 770 | struct control_phy *control_phy = &scb->control_phy; | ~~~ ^ 4 errors generated. -- In file included from drivers/scsi/aic94xx/aic94xx_tmf.c:12: >> drivers/scsi/aic94xx/aic94xx_sas.h:323:28: error: field has incomplete type 'struct ssp_command_iu_hdr' 323 | struct ssp_command_iu_hdr ssp_cmd; | ^ drivers/scsi/aic94xx/aic94xx_sas.h:323:9: note: forward declaration of 'struct ssp_command_iu_hdr' 323 | struct ssp_command_iu_hdr ssp_cmd; | ^ >> drivers/scsi/aic94xx/aic94xx_tmf.c:120:7: error: no member named 'clear_nexus' in 'struct scb' 120 | scb->clear_nexus.nexus = NEXUS_ADAPTER; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:129:7: error: no member named 'clear_nexus' in 'struct scb' 129 | scb->clear_nexus.nexus = NEXUS_PORT; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:130:7: error: no member named 'clear_nexus' in 'struct scb' 130 | scb->clear_nexus.conn_mask = port->phy_mask; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:146:7: error: no member named 'clear_nexus' in 'struct scb' 146 | scb->clear_nexus.nexus = NEXUS_I_T; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:149:8: error: no member named 'clear_nexus' in 'struct scb' 149 | scb->clear_nexus.flags = EXEC_Q | SUSPEND_TX; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:152:8: error: no member named 'clear_nexus' in 'struct scb' 152 | scb->clear_nexus.flags = SEND_Q | NOTINQ; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:155:8: error: no member named 'clear_nexus' in 'struct scb' 155 | scb->clear_nexus.flags = RESUME_TX; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:157:7: error: no member named 'clear_nexus' in 'struct scb' 157 | scb->clear_nexus.conn_handle = cpu_to_le16((u16)(unsigned long) | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:206:7: error: no member named 'clear_nexus' in 'struct scb' 206 | scb->clear_nexus.nexus = NEXUS_I_T_L; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:207:7: error: no member named 'clear_nexus' in 'struct scb' 207 | scb->clear_nexus.flags = SEND_Q | EXEC_Q | NOTINQ; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:208:14: error: no member named 'clear_nexus' in 'struct scb' 208 | memcpy(scb->clear_nexus.ssp_task.lun, lun, 8); | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:209:7: error: no member named 'clear_nexus' in 'struct scb' 209 | scb->clear_nexus.conn_handle = cpu_to_le16((u16)(unsigned long) | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:220:7: error: no member named 'clear_nexus' in 'struct scb' 220 | scb->clear_nexus.nexus = NEXUS_TAG; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:221:14: error: no member named 'clear_nexus' in 'struct scb' 221 | memcpy(scb->clear_nexus.ssp_task.lun, task->ssp_task.LUN, 8); | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:222:7: error: no member named 'clear_nexus' in 'struct scb' 222 | scb->clear_nexus.ssp_task.tag = tascb->tag; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:224:8: error: no member named 'clear_nexus' in 'struct scb' 224 | scb->clear_nexus.conn_handle = cpu_to_le16((u16)(unsigned long) | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:235:7: error: no member named 'clear_nexus' in 'struct scb' 235 | scb->clear_nexus.nexus = NEXUS_TRANS_CX; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_tmf.c:237:8: error: no member named 'clear_nexus' in 'struct scb' 237 | scb->clear_nexus.conn_handle = cpu_to_le16((u16)(unsigned long) | ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. -- In file included from drivers/scsi/aic94xx/aic94xx_task.c:11: >> drivers/scsi/aic94xx/aic94xx_sas.h:323:28: error: field has incomplete type 'struct ssp_command_iu_hdr' 323 | struct ssp_command_iu_hdr ssp_cmd; | ^ drivers/scsi/aic94xx/aic94xx_sas.h:323:9: note: forward declaration of 'struct ssp_command_iu_hdr' 323 | struct ssp_command_iu_hdr ssp_cmd; | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:129:33: error: no member named 'ssp_task' in 'struct scb' 129 | le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); | ~~~~~~~~~ ^ include/linux/byteorder/generic.h:87:21: note: expanded from macro 'le64_to_cpu' 87 | #define le64_to_cpu __le64_to_cpu | ^ include/uapi/linux/byteorder/big_endian.h:33:59: note: expanded from macro '__le64_to_cpu' 33 | #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) | ^ include/uapi/linux/swab.h:131:31: note: expanded from macro '__swab64' 131 | (__u64)(__builtin_constant_p(x) ? \ | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:129:33: error: no member named 'ssp_task' in 'struct scb' 129 | le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); | ~~~~~~~~~ ^ include/linux/byteorder/generic.h:87:21: note: expanded from macro 'le64_to_cpu' 87 | #define le64_to_cpu __le64_to_cpu | ^ include/uapi/linux/byteorder/big_endian.h:33:59: note: expanded from macro '__le64_to_cpu' 33 | #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) | ^ include/uapi/linux/swab.h:132:21: note: expanded from macro '__swab64' 132 | ___constant_swab64(x) : \ | ^ include/uapi/linux/swab.h:25:12: note: expanded from macro '___constant_swab64' 25 | (((__u64)(x) & (__u64)0x00000000000000ffULL) << 56) | \ | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:129:33: error: no member named 'ssp_task' in 'struct scb' 129 | le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); | ~~~~~~~~~ ^ include/linux/byteorder/generic.h:87:21: note: expanded from macro 'le64_to_cpu' 87 | #define le64_to_cpu __le64_to_cpu | ^ include/uapi/linux/byteorder/big_endian.h:33:59: note: expanded from macro '__le64_to_cpu' 33 | #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) | ^ include/uapi/linux/swab.h:132:21: note: expanded from macro '__swab64' 132 | ___constant_swab64(x) : \ | ^ include/uapi/linux/swab.h:26:12: note: expanded from macro '___constant_swab64' 26 | (((__u64)(x) & (__u64)0x000000000000ff00ULL) << 40) | \ | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:129:33: error: no member named 'ssp_task' in 'struct scb' 129 | le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); | ~~~~~~~~~ ^ include/linux/byteorder/generic.h:87:21: note: expanded from macro 'le64_to_cpu' 87 | #define le64_to_cpu __le64_to_cpu | ^ include/uapi/linux/byteorder/big_endian.h:33:59: note: expanded from macro '__le64_to_cpu' 33 | #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) | ^ include/uapi/linux/swab.h:132:21: note: expanded from macro '__swab64' 132 | ___constant_swab64(x) : \ | ^ include/uapi/linux/swab.h:27:12: note: expanded from macro '___constant_swab64' 27 | (((__u64)(x) & (__u64)0x0000000000ff0000ULL) << 24) | \ | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:129:33: error: no member named 'ssp_task' in 'struct scb' 129 | le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); | ~~~~~~~~~ ^ include/linux/byteorder/generic.h:87:21: note: expanded from macro 'le64_to_cpu' 87 | #define le64_to_cpu __le64_to_cpu | ^ include/uapi/linux/byteorder/big_endian.h:33:59: note: expanded from macro '__le64_to_cpu' 33 | #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) | ^ include/uapi/linux/swab.h:132:21: note: expanded from macro '__swab64' 132 | ___constant_swab64(x) : \ | ^ include/uapi/linux/swab.h:28:12: note: expanded from macro '___constant_swab64' 28 | (((__u64)(x) & (__u64)0x00000000ff000000ULL) << 8) | \ | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:129:33: error: no member named 'ssp_task' in 'struct scb' 129 | le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); | ~~~~~~~~~ ^ include/linux/byteorder/generic.h:87:21: note: expanded from macro 'le64_to_cpu' 87 | #define le64_to_cpu __le64_to_cpu | ^ include/uapi/linux/byteorder/big_endian.h:33:59: note: expanded from macro '__le64_to_cpu' 33 | #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) | ^ include/uapi/linux/swab.h:132:21: note: expanded from macro '__swab64' 132 | ___constant_swab64(x) : \ | ^ include/uapi/linux/swab.h:29:12: note: expanded from macro '___constant_swab64' 29 | (((__u64)(x) & (__u64)0x000000ff00000000ULL) >> 8) | \ | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:129:33: error: no member named 'ssp_task' in 'struct scb' 129 | le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); | ~~~~~~~~~ ^ include/linux/byteorder/generic.h:87:21: note: expanded from macro 'le64_to_cpu' 87 | #define le64_to_cpu __le64_to_cpu | ^ include/uapi/linux/byteorder/big_endian.h:33:59: note: expanded from macro '__le64_to_cpu' 33 | #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) | ^ include/uapi/linux/swab.h:132:21: note: expanded from macro '__swab64' 132 | ___constant_swab64(x) : \ | ^ include/uapi/linux/swab.h:30:12: note: expanded from macro '___constant_swab64' 30 | (((__u64)(x) & (__u64)0x0000ff0000000000ULL) >> 24) | \ | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:129:33: error: no member named 'ssp_task' in 'struct scb' 129 | le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); | ~~~~~~~~~ ^ include/linux/byteorder/generic.h:87:21: note: expanded from macro 'le64_to_cpu' 87 | #define le64_to_cpu __le64_to_cpu | ^ include/uapi/linux/byteorder/big_endian.h:33:59: note: expanded from macro '__le64_to_cpu' 33 | #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) | ^ include/uapi/linux/swab.h:132:21: note: expanded from macro '__swab64' 132 | ___constant_swab64(x) : \ | ^ include/uapi/linux/swab.h:31:12: note: expanded from macro '___constant_swab64' 31 | (((__u64)(x) & (__u64)0x00ff000000000000ULL) >> 40) | \ | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:129:33: error: no member named 'ssp_task' in 'struct scb' 129 | le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); | ~~~~~~~~~ ^ include/linux/byteorder/generic.h:87:21: note: expanded from macro 'le64_to_cpu' 87 | #define le64_to_cpu __le64_to_cpu | ^ include/uapi/linux/byteorder/big_endian.h:33:59: note: expanded from macro '__le64_to_cpu' 33 | #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) | ^ include/uapi/linux/swab.h:132:21: note: expanded from macro '__swab64' 132 | ___constant_swab64(x) : \ | ^ include/uapi/linux/swab.h:32:12: note: expanded from macro '___constant_swab64' 32 | (((__u64)(x) & (__u64)0xff00000000000000ULL) >> 56))) | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:129:33: error: no member named 'ssp_task' in 'struct scb' 129 | le64_to_cpu(ascb->scb->ssp_task.sg_element[0].bus_addr); | ~~~~~~~~~ ^ include/linux/byteorder/generic.h:87:21: note: expanded from macro 'le64_to_cpu' 87 | #define le64_to_cpu __le64_to_cpu | ^ include/uapi/linux/byteorder/big_endian.h:33:59: note: expanded from macro '__le64_to_cpu' 33 | #define __le64_to_cpu(x) __swab64((__force __u64)(__le64)(x)) | ^ include/uapi/linux/swab.h:133:12: note: expanded from macro '__swab64' 133 | __fswab64(x)) | ^ >> drivers/scsi/aic94xx/aic94xx_task.c:365:7: error: no member named 'ata_task' in 'struct scb' 365 | scb->ata_task.proto_conn_rate = (1 << 5); /* STP */ | ~~~ ^ drivers/scsi/aic94xx/aic94xx_task.c:367:8: error: no member named 'ata_task' in 'struct scb' 367 | scb->ata_task.proto_conn_rate |= dev->linkrate; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_task.c:369:7: error: no member named 'ata_task' in 'struct scb' 369 | scb->ata_task.total_xfer_len = cpu_to_le32(task->total_xfer_len); | ~~~ ^ drivers/scsi/aic94xx/aic94xx_task.c:370:7: error: no member named 'ata_task' in 'struct scb' 370 | scb->ata_task.fis = task->ata_task.fis; | ~~~ ^ drivers/scsi/aic94xx/aic94xx_task.c:372:8: error: no member named 'ata_task' in 'struct scb' 372 | scb->ata_task.fis.flags |= 0x80; /* C=1: update ATA cmd reg */ | ~~~ ^ drivers/scsi/aic94xx/aic94xx_task.c:373:7: error: no member named 'ata_task' in 'struct scb' 373 | scb->ata_task.fis.flags &= 0xF0; /* PM_PORT field shall be 0 */ | ~~~ ^ drivers/scsi/aic94xx/aic94xx_task.c:375:15: error: no member named 'ata_task' in 'struct scb' 375 | memcpy(scb->ata_task.atapi_packet, task->ata_task.atapi_packet, | ~~~ ^ drivers/scsi/aic94xx/aic94xx_task.c:377:7: error: no member named 'ata_task' in 'struct scb' 377 | scb->ata_task.sister_scb = cpu_to_le16(0xFFFF); | ~~~ ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. vim +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