Re: [PATCH] Move struct cpu_feature to a <linux/device-id/cpu_feature.h>

From: Nicolas Schier

Date: Sat Nov 21 2026 - 08:16:42 EST


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@xxxxxxxxx/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@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/202611211941.G0rlpNpN-lkp@xxxxxxxxx/
>
> 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@xxxxxxxxxx/

--
Nicolas