[gustavoars:testing/wfamnae-next20260302 10/12] ./usr/include/asm/setup_data.h:35:30: error: declaration does not declare anything

From: kernel test robot

Date: Tue Mar 03 2026 - 10:26:12 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/wfamnae-next20260302
head: 759ff201de93e9bf74683ac6d4414b9141b12c27
commit: 0c2f151521b10100c7f4415d3ef1f7ae4999634d [10/12] x86/setup: Avoid multiple -Wflex-array-member-not-at-end warnings
config: um-allyesconfig (https://download.01.org/0day-ci/archive/20260303/202603032324.MS8Ytf1A-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/20260303/202603032324.MS8Ytf1A-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/202603032324.MS8Ytf1A-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