From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.15]) (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 CF3D9261B71 for ; Mon, 16 Feb 2026 12:07:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771243681; cv=none; b=DnVGiTRIC/1JqNcLB3JP7SzPmL5G2/k7sbYTa2eJiox6x1bcERGJa8YfmelyNAYMErVshuj67BjW0HVQJz7NFTUaKXwbwQXhfqLa3SsEZ5z9lHgMjezvQsLzJqlHFXK8XFNfwjpzLJd4BGKazE06Plz435LZG3ydlh4w9NH4Lpk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771243681; c=relaxed/simple; bh=wcz6ToB3Egc9rUmt2+xo98jHGcc77uFUB5HTdeuRbmo=; h=Date:From:To:Cc:Subject:Message-ID; b=eSPDlJhA6oLDRJ5bv5BC0kMWPRlTGOJbfr0ZeZU81qlG0WavMcsmfpNnGBB87yXQUEiBiKhk88O873TNb2i/X184iiKW8dSKdsWdb3hLGFlC5jyasisTAwUkoAntDINFyfvlP7O1apIma7sJV5p6tWKvMURC949XmF/WOkgYAc8= 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=WUTlHtnf; arc=none smtp.client-ip=198.175.65.15 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="WUTlHtnf" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1771243679; x=1802779679; h=date:from:to:cc:subject:message-id; bh=wcz6ToB3Egc9rUmt2+xo98jHGcc77uFUB5HTdeuRbmo=; b=WUTlHtnfFqdVJ5orIuKH/hyjWwq5KIf2H2vuM1BIDAYHewmkovEvYVPj H5OQqS4dAG02uWUGYY/rLP8d3UG2DeJJJiUrPm4WfPIrwdPTzo4Si5jA5 p7Cl7b9FcszvunvHRr97Z6n6obmbYch5tWrP9gqtybRN4/3C9jLhZM+Ke Hp+BhZqgRFPavcqxoeOi44I9p6y+S/5y3vL13pJwaHg215d2eW5PszvmO AhQMjHLqYvuVRMytymAdRflD7G5ziyGjPb0fh1FpOEH+MPoayJ5ML2va9 GMiJTnjGuYhV9DbpQ1pZdJnEPk1zTQEnFtjwJM5HUQnKG8dJ78nLlYV66 w==; X-CSE-ConnectionGUID: b/XJQ5/WQUK4maCVE6+kdA== X-CSE-MsgGUID: 1xzkRGMfTguexCqL1PNW7g== X-IronPort-AV: E=McAfee;i="6800,10657,11702"; a="75943517" X-IronPort-AV: E=Sophos;i="6.21,294,1763452800"; d="scan'208";a="75943517" Received: from orviesa004.jf.intel.com ([10.64.159.144]) by orvoesa107.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Feb 2026 04:07:58 -0800 X-CSE-ConnectionGUID: tI4ewChKTYm2iY0eic3X5Q== X-CSE-MsgGUID: 829sZ5KOQKmoK4kHDClI7g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,294,1763452800"; d="scan'208";a="218131047" Received: from lkp-server01.sh.intel.com (HELO 765f4a05e27f) ([10.239.97.150]) by orviesa004.jf.intel.com with ESMTP; 16 Feb 2026 04:07:57 -0800 Received: from kbuild by 765f4a05e27f with local (Exim 4.98.2) (envelope-from ) id 1vrxOM-00000000zo6-3fk7; Mon, 16 Feb 2026 12:07:54 +0000 Date: Mon, 16 Feb 2026 20:07:26 +0800 From: kernel test robot To: steven@liquorix.net Cc: oe-kbuild-all@lists.linux.dev Subject: [zen:6.18/zen-sauce 4/29] drivers/pci/controller/intel-nvme-remap.c:47:33: error: field 'sysdata' has incomplete type Message-ID: <202602162006.as0bhBeT-lkp@intel.com> User-Agent: s-nail v14.9.25 Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: tree: https://github.com/zen-kernel/zen-kernel 6.18/zen-sauce head: 0c87fdcd1f9f7f1a09e8928422160159b8966784 commit: dbc40c577cbb482c1d5c92d97724a026113e4526 [4/29] ZEN: PCI: Add Intel remapped NVMe device support config: um-allyesconfig (https://download.01.org/0day-ci/archive/20260216/202602162006.as0bhBeT-lkp@intel.com/config) compiler: gcc-14 (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260216/202602162006.as0bhBeT-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/202602162006.as0bhBeT-lkp@intel.com/ All errors (new ones prefixed by >>): >> drivers/pci/controller/intel-nvme-remap.c:47:33: error: field 'sysdata' has incomplete type 47 | struct pci_sysdata sysdata; | ^~~~~~~ In file included from include/linux/init.h:5, from include/linux/printk.h:6, from include/asm-generic/bug.h:22, from ./arch/um/include/generated/asm/bug.h:1, from include/linux/bug.h:5, from include/linux/thread_info.h:13, from include/asm-generic/preempt.h:5, from ./arch/um/include/generated/asm/preempt.h:1, from include/linux/preempt.h:79, from include/linux/spinlock.h:56, from include/linux/irq.h:14, from drivers/pci/controller/intel-nvme-remap.c:37: drivers/pci/controller/intel-nvme-remap.c: In function 'nrdev_from_bus': include/linux/compiler_types.h:537:27: error: expression in static assertion is not an integer 537 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/linux/build_bug.h:78:56: note: in definition of macro '__static_assert' 78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg) | ^~~~ include/linux/container_of.h:21:9: note: in expansion of macro 'static_assert' 21 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~~~ include/linux/container_of.h:21:23: note: in expansion of macro '__same_type' 21 | static_assert(__same_type(*(ptr), ((type *)0)->member) || \ | ^~~~~~~~~~~ drivers/pci/controller/intel-nvme-remap.c:74:16: note: in expansion of macro 'container_of' 74 | return container_of(bus->sysdata, struct nvme_remap_dev, sysdata); | ^~~~~~~~~~~~ In file included from include/linux/pci.h:44, from drivers/pci/controller/intel-nvme-remap.c:40: drivers/pci/controller/intel-nvme-remap.c: At top level: include/linux/pci_ids.h:23:41: warning: initialized field overwritten [-Woverride-init] 23 | #define PCI_CLASS_STORAGE_RAID 0x0104 | ^~~~~~ drivers/pci/controller/intel-nvme-remap.c:447:26: note: in expansion of macro 'PCI_CLASS_STORAGE_RAID' 447 | .class = PCI_CLASS_STORAGE_RAID << 8, | ^~~~~~~~~~~~~~~~~~~~~~ include/linux/pci_ids.h:23:41: note: (near initialization for 'nvme_remap_ids[0].class') 23 | #define PCI_CLASS_STORAGE_RAID 0x0104 | ^~~~~~ drivers/pci/controller/intel-nvme-remap.c:447:26: note: in expansion of macro 'PCI_CLASS_STORAGE_RAID' 447 | .class = PCI_CLASS_STORAGE_RAID << 8, | ^~~~~~~~~~~~~~~~~~~~~~ drivers/pci/controller/intel-nvme-remap.c:448:31: warning: initialized field overwritten [-Woverride-init] 448 | .class_mask = 0xffffff00, | ^~~~~~~~~~ drivers/pci/controller/intel-nvme-remap.c:448:31: note: (near initialization for 'nvme_remap_ids[0].class_mask') vim +/sysdata +47 drivers/pci/controller/intel-nvme-remap.c 43 44 struct nvme_remap_dev { 45 struct pci_dev *dev; /* AHCI device */ 46 struct pci_bus *bus; /* our fake PCI bus */ > 47 struct pci_sysdata sysdata; 48 int irq_base; /* our fake interrupts */ 49 50 /* 51 * When we detect an all-ones write to a BAR register, this flag 52 * is set, so that we return the BAR size on the next read (a 53 * standard PCI behaviour). 54 * This includes the assumption that an all-ones BAR write is 55 * immediately followed by a read of the same register. 56 */ 57 bool bar_sizing; 58 59 /* 60 * Resources copied from the AHCI device, to be regarded as 61 * resources on our fake bus. 62 */ 63 struct resource ahci_resources[PCI_NUM_RESOURCES]; 64 65 /* Resources corresponding to the NVMe devices. */ 66 struct resource remapped_dev_mem[AHCI_MAX_REMAP]; 67 68 /* Number of remapped NVMe devices found. */ 69 int num_remapped_devices; 70 }; 71 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki