[gustavoars:testing/fam0-next20240207 1/1] ./usr/include/linux/seg6_hmac.h:12:17: warning: field 'tlvhdr' with variable sized type 'struct sr6_tlv' not at the end of a struct or class is a GNU extension

From: kernel test robot
Date: Thu Feb 08 2024 - 08:55:54 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/gustavoars/linux.git testing/fam0-next20240207
head: 8fbd8ae9e6d71833931c62ad11ca636ccb833387
commit: 8fbd8ae9e6d71833931c62ad11ca636ccb833387 [1/1] treewide: Replace zero-length arrays with flex-array members
config: i386-randconfig-013-20240208 (https://download.01.org/0day-ci/archive/20240208/202402082103.XZKY73Gh-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240208/202402082103.XZKY73Gh-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/202402082103.XZKY73Gh-lkp@xxxxxxxxx/

All warnings (new ones prefixed by >>):

In file included from <built-in>:1:
>> ./usr/include/linux/seg6_hmac.h:12:17: warning: field 'tlvhdr' with variable sized type 'struct sr6_tlv' not at the end of a struct or class is a GNU extension [-Wgnu-variable-sized-type-not-at-end]
12 | struct sr6_tlv tlvhdr;
| ^
1 warning generated.

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