Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
* Re: [PATCH] Move struct cpu_feature to a <linux/device-id/cpu_feature.h>
       [not found] <20261120202712.3377691-1-nsc@kernel.org>
@ 2026-11-21 12:01 ` kernel test robot
  2026-11-21 12:51   ` Nicolas Schier
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2026-11-21 12:01 UTC (permalink / raw)
  To: Nicolas Schier, Uwe Kleine-König, Nathan Chancellor,
	Sasha Levin
  Cc: llvm, oe-kbuild-all, Nicolas Schier, Harald Freudenberger,
	Holger Dengler, Heiko Carstens, Vasily Gorbik, Alexander Gordeev,
	Huacai Chen, WANG Xuerui, Thomas Bogendoerfer, linux-kbuild,
	linux-s390, loongarch, linux-mips, linux-kernel, kernelci.org bot

Hi Nicolas,

kernel test robot noticed the following build errors:

[auto build test ERROR on kvm/queue]
[also build test ERROR on kvm/next linus/master v7.4-rc3]
[cannot apply to kvm/linux-next next-20261119]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url:    https://github.com/intel-lab-lkp/linux/commits/Nicolas-Schier/Move-struct-cpu_feature-to-a-linux-device-id-cpu_feature-h/20261120-212711
base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
patch link:    https://lore.kernel.org/r/20261120202712.3377691-1-nsc%40kernel.org
patch subject: [PATCH] Move struct cpu_feature to a <linux/device-id/cpu_feature.h>
config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20261121/202611211941.G0rlpNpN-lkp@intel.com/config)
compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 3b14d7c370558b46e5f0c6494a05c492e59bf32c)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261121/202611211941.G0rlpNpN-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611211941.G0rlpNpN-lkp@intel.com/

All errors (new ones prefixed by >>):

>> drivers/s390/crypto/pkey_cca.c:22:45: error: array has incomplete element type 'struct ap_device_id'
      22 | static struct ap_device_id pkey_cca_card_ids[] = {
         |                                             ^
   drivers/s390/crypto/ap_bus.h:158:9: note: forward declaration of 'struct ap_device_id'
     158 |         struct ap_device_id *ids;
         |                ^
   1 error generated.
--
>> drivers/s390/crypto/pkey_ep11.c:23:46: error: array has incomplete element type 'struct ap_device_id'
      23 | static struct ap_device_id pkey_ep11_card_ids[] = {
         |                                              ^
   drivers/s390/crypto/ap_bus.h:158:9: note: forward declaration of 'struct ap_device_id'
     158 |         struct ap_device_id *ids;
         |                ^
   1 error generated.


vim +22 drivers/s390/crypto/pkey_cca.c

8fcc231ce3bea12 Harald Freudenberger 2024-08-22  20  
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  21  #if IS_MODULE(CONFIG_PKEY_CCA)
8fcc231ce3bea12 Harald Freudenberger 2024-08-22 @22  static struct ap_device_id pkey_cca_card_ids[] = {
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  23  	{ .dev_type = AP_DEVICE_TYPE_CEX4 },
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  24  	{ .dev_type = AP_DEVICE_TYPE_CEX5 },
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  25  	{ .dev_type = AP_DEVICE_TYPE_CEX6 },
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  26  	{ .dev_type = AP_DEVICE_TYPE_CEX7 },
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  27  	{ .dev_type = AP_DEVICE_TYPE_CEX8 },
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  28  	{ /* end of list */ },
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  29  };
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  30  MODULE_DEVICE_TABLE(ap, pkey_cca_card_ids);
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  31  #endif
8fcc231ce3bea12 Harald Freudenberger 2024-08-22  32  

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

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

* Re: [PATCH] Move struct cpu_feature to a <linux/device-id/cpu_feature.h>
  2026-11-21 12:01 ` [PATCH] Move struct cpu_feature to a <linux/device-id/cpu_feature.h> kernel test robot
@ 2026-11-21 12:51   ` Nicolas Schier
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Schier @ 2026-11-21 12:51 UTC (permalink / raw)
  To: kernel test robot
  Cc: Uwe Kleine-König, Nathan Chancellor, Sasha Levin, llvm,
	oe-kbuild-all, Harald Freudenberger, Holger Dengler,
	Heiko Carstens, Vasily Gorbik, Alexander Gordeev, Huacai Chen,
	WANG Xuerui, Thomas Bogendoerfer, linux-kbuild, linux-s390,
	loongarch, linux-mips, linux-kernel, kernelci.org bot

On Sat, Nov 21, 2026 at 08:01:20PM +0800, kernel test robot wrote:
> Hi Nicolas,
> 
> kernel test robot noticed the following build errors:
> 
> [auto build test ERROR on kvm/queue]
> [also build test ERROR on kvm/next linus/master v7.4-rc3]
> [cannot apply to kvm/linux-next next-20261119]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
> 
> url:    https://github.com/intel-lab-lkp/linux/commits/Nicolas-Schier/Move-struct-cpu_feature-to-a-linux-device-id-cpu_feature-h/20261120-212711
> base:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
> patch link:    https://lore.kernel.org/r/20261120202712.3377691-1-nsc%40kernel.org
> patch subject: [PATCH] Move struct cpu_feature to a <linux/device-id/cpu_feature.h>
> config: s390-allmodconfig (https://download.01.org/0day-ci/archive/20261121/202611211941.G0rlpNpN-lkp@intel.com/config)
> compiler: clang version 24.0.0git (https://github.com/llvm/llvm-project 3b14d7c370558b46e5f0c6494a05c492e59bf32c)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261121/202611211941.G0rlpNpN-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 <lkp@intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202611211941.G0rlpNpN-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 
> >> drivers/s390/crypto/pkey_cca.c:22:45: error: array has incomplete element type 'struct ap_device_id'
>       22 | static struct ap_device_id pkey_cca_card_ids[] = {
>          |                                             ^
>    drivers/s390/crypto/ap_bus.h:158:9: note: forward declaration of 'struct ap_device_id'
>      158 |         struct ap_device_id *ids;
>          |                ^
>    1 error generated.
> --
> >> drivers/s390/crypto/pkey_ep11.c:23:46: error: array has incomplete element type 'struct ap_device_id'
>       23 | static struct ap_device_id pkey_ep11_card_ids[] = {
>          |                                              ^
>    drivers/s390/crypto/ap_bus.h:158:9: note: forward declaration of 'struct ap_device_id'
>      158 |         struct ap_device_id *ids;
>          |                ^
>    1 error generated.

That is fixed by [1] which is to be applied before the patch referenced
above.

[1]: https://lore.kernel.org/linux-kbuild/66e4ee9c7f9b4bc48fcee92a94b6bb6d92fe1ad2.1794233316.git.sashal@kernel.org/

-- 
Nicolas

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

end of thread, other threads:[~2026-11-21 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20261120202712.3377691-1-nsc@kernel.org>
2026-11-21 12:01 ` [PATCH] Move struct cpu_feature to a <linux/device-id/cpu_feature.h> kernel test robot
2026-11-21 12:51   ` Nicolas Schier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox