lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202504160231.EoEr710d-lkp@intel.com>
Date: Wed, 16 Apr 2025 03:02:22 +0800
From: kernel test robot <lkp@...el.com>
To: alejandro.lucero-palau@....com, linux-cxl@...r.kernel.org,
	netdev@...r.kernel.org, dan.j.williams@...el.com,
	edward.cree@....com, davem@...emloft.net, kuba@...nel.org,
	pabeni@...hat.com, edumazet@...gle.com, dave.jiang@...el.com
Cc: llvm@...ts.linux.dev, oe-kbuild-all@...ts.linux.dev,
	Alejandro Lucero <alucerop@....com>,
	Ben Cheatham <benjamin.cheatham@....com>,
	Jonathan Cameron <Jonathan.Cameron@...wei.com>
Subject: Re: [PATCH v13 13/22] cxl: define a driver interface for DPA
 allocation

Hi,

kernel test robot noticed the following build errors:

[auto build test ERROR on 73c117c17b562213242f432db2ddf1bcc22f39dd]

url:    https://github.com/intel-lab-lkp/linux/commits/alejandro-lucero-palau-amd-com/cxl-add-type2-device-basic-support/20250414-233241
base:   73c117c17b562213242f432db2ddf1bcc22f39dd
patch link:    https://lore.kernel.org/r/20250414151336.3852990-14-alejandro.lucero-palau%40amd.com
patch subject: [PATCH v13 13/22] cxl: define a driver interface for DPA allocation
config: powerpc-randconfig-002-20250415
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build):

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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202504160231.EoEr710d-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/cxl/core/hdm.c:6:
>> include/cxl/cxl.h:153:15: error: field has incomplete type 'struct range'
     153 |         struct range dpa_range;
         |                      ^
   include/linux/memory_hotplug.h:247:8: note: forward declaration of 'struct range'
     247 | struct range arch_get_mappable_range(void);
         |        ^
   In file included from drivers/cxl/core/hdm.c:6:
   include/cxl/cxl.h:227:16: error: field has incomplete type 'struct range'
     227 |                 struct range range;
         |                              ^
   include/linux/memory_hotplug.h:247:8: note: forward declaration of 'struct range'
     247 | struct range arch_get_mappable_range(void);
         |        ^
   2 errors generated.


vim +153 include/cxl/cxl.h

04ccf61aaf2695 Alejandro Lucero 2025-04-14  144  
04ccf61aaf2695 Alejandro Lucero 2025-04-14  145  /**
04ccf61aaf2695 Alejandro Lucero 2025-04-14  146   * struct cxl_dpa_perf - DPA performance property entry
04ccf61aaf2695 Alejandro Lucero 2025-04-14  147   * @dpa_range: range for DPA address
04ccf61aaf2695 Alejandro Lucero 2025-04-14  148   * @coord: QoS performance data (i.e. latency, bandwidth)
04ccf61aaf2695 Alejandro Lucero 2025-04-14  149   * @cdat_coord: raw QoS performance data from CDAT
04ccf61aaf2695 Alejandro Lucero 2025-04-14  150   * @qos_class: QoS Class cookies
04ccf61aaf2695 Alejandro Lucero 2025-04-14  151   */
04ccf61aaf2695 Alejandro Lucero 2025-04-14  152  struct cxl_dpa_perf {
04ccf61aaf2695 Alejandro Lucero 2025-04-14 @153  	struct range dpa_range;
04ccf61aaf2695 Alejandro Lucero 2025-04-14  154  	struct access_coordinate coord[ACCESS_COORDINATE_MAX];
04ccf61aaf2695 Alejandro Lucero 2025-04-14  155  	struct access_coordinate cdat_coord[ACCESS_COORDINATE_MAX];
04ccf61aaf2695 Alejandro Lucero 2025-04-14  156  	int qos_class;
04ccf61aaf2695 Alejandro Lucero 2025-04-14  157  };
04ccf61aaf2695 Alejandro Lucero 2025-04-14  158  

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

View attachment "reproduce" of type "text/plain" (750 bytes)

View attachment "config" of type "text/plain" (214124 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ