Re: [PATCH] netfilter: ebtables: fix fortify warnings

From: kernel test robot
Date: Tue Aug 08 2023 - 13:18:24 EST


Hi Ruiqi,

kernel test robot noticed the following build errors:

[auto build test ERROR on linus/master]
[also build test ERROR on horms-ipvs/master v6.5-rc5 next-20230808]
[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/GONG-Ruiqi/netfilter-ebtables-fix-fortify-warnings/20230808-095125
base: linus/master
patch link: https://lore.kernel.org/r/20230808014821.241688-1-gongruiqi%40huaweicloud.com
patch subject: [PATCH] netfilter: ebtables: fix fortify warnings
config: i386-randconfig-r011-20230808 (https://download.01.org/0day-ci/archive/20230808/202308081840.VN5BvVWf-lkp@xxxxxxxxx/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce: (https://download.01.org/0day-ci/archive/20230808/202308081840.VN5BvVWf-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/202308081840.VN5BvVWf-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

In file included from <command-line>:
>> ./usr/include/linux/netfilter_bridge/ebtables.h:185:9: error: expected specifier-qualifier-list before 'struct_group'
185 | struct_group(offsets,
| ^~~~~~~~~~~~
./usr/include/linux/netfilter_bridge/ebtables.h: In function 'ebt_get_target':
>> ./usr/include/linux/netfilter_bridge/ebtables.h:199:57: error: 'struct ebt_entry' has no member named 'target_offset'
199 | return (struct ebt_entry_target *)((char *)e + e->target_offset);
| ^~

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