[gustavoars:testing/wfamnae-next20260408 8/20] ./usr/include/asm/setup_data.h:35:30: error: declaration does not declare anything

From: kernel test robot

Date: Thu Apr 30 2026 - 01:48:29 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/wfamnae-next20260408
head: 6d701ba0454b8785a162a4ed3af4a26b4bd592e9
commit: fe3d1c9338d35f4fe07119f69a86858a762d784f [8/20] x86/setup: Avoid multiple -Wflex-array-member-not-at-end warnings
config: x86_64-buildonly-randconfig-005-20260430 (https://download.01.org/0day-ci/archive/20260430/202604301320.6Bws67gn-lkp@xxxxxxxxx/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/20260430/202604301320.6Bws67gn-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/202604301320.6Bws67gn-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

In file included from <command-line>:
>> ./usr/include/asm/setup_data.h:35:30: error: declaration does not declare anything [-Werror]
35 | struct setup_data_hdr;
| ^
>> ./usr/include/asm/setup_data.h:36:14: error: flexible array member in a struct with no named members
36 | __u8 data[];
| ^~~~
cc1: all warnings being treated as errors

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