Re: [nf-next PATCH v2] netfilter: include: uapi: Use C99 flexible array member

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Phil,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on nf-next/master]

url:    https://github.com/0day-ci/linux/commits/Phil-Sutter/netfilter-include-uapi-Use-C99-flexible-array-member/20200719-180355
base:   https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git master
config: x86_64-randconfig-s022-20200719 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-14) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-49-g707c5017-dirty
        # save the attached .config to linux build tree
        make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

   In file included from <command-line>:32:
>> ./usr/include/linux/netfilter_bridge/ebtables.h:90:14: error: expected ':', ',', ';', '}' or '__attribute__' before '__aligned'
      90 |  char data[] __aligned(__alignof__(struct ebt_replace));
         |              ^~~~~~~~~
   ./usr/include/linux/netfilter_bridge/ebtables.h:132:23: error: expected ':', ',', ';', '}' or '__attribute__' before '__aligned'
     132 |  unsigned char data[] __aligned(__alignof__(struct ebt_replace));
         |                       ^~~~~~~~~
   ./usr/include/linux/netfilter_bridge/ebtables.h:145:23: error: expected ':', ',', ';', '}' or '__attribute__' before '__aligned'
     145 |  unsigned char data[] __aligned(__alignof__(struct ebt_replace));
         |                       ^~~~~~~~~
   ./usr/include/linux/netfilter_bridge/ebtables.h:158:23: error: expected ':', ',', ';', '}' or '__attribute__' before '__aligned'
     158 |  unsigned char data[] __aligned(__alignof__(struct ebt_replace));
         |                       ^~~~~~~~~
   ./usr/include/linux/netfilter_bridge/ebtables.h:191:24: error: expected ':', ',', ';', '}' or '__attribute__' before '__aligned'
     191 |  unsigned char elems[] __aligned(__alignof__(struct ebt_replace));
         |                        ^~~~~~~~~

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux