Hi Or,

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

url:    
https://github.com/0day-ci/linux/commits/Or-Gerlitz/net-sched-cls_flower-Add-support-for-matching-on-flags/20161207-012247
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget 
https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
 -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

Note: the 
linux-review/Or-Gerlitz/net-sched-cls_flower-Add-support-for-matching-on-flags/20161207-012247
 HEAD 591ecce02e6ed3dab17d5c45a3f7368581c596ce builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   In file included from include/net/pkt_cls.h:4:0,
                    from drivers/net/ethernet/mellanox/mlx5/core/en_tc.c:34:
>> include/uapi/linux/pkt_cls.h:470:37: error: implicit declaration of function 
>> 'BIT' [-Werror=implicit-function-declaration]
     TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = BIT(0),
                                        ^~~
>> include/uapi/linux/pkt_cls.h:470:2: error: enumerator value for 
>> 'TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT' is not an integer constant
     TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = BIT(0),
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/BIT +470 include/uapi/linux/pkt_cls.h

   464          __TCA_FLOWER_MAX,
   465  };
   466  
   467  #define TCA_FLOWER_MAX (__TCA_FLOWER_MAX - 1)
   468  
   469  enum {
 > 470          TCA_FLOWER_KEY_FLAGS_IS_FRAGMENT = BIT(0),
   471  };
   472  
   473  /* Match-all classifier */

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

Reply via email to