Hi Hadar,

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

url:    
https://github.com/0day-ci/linux/commits/Hadar-Hen-Zion/Offloading-tc-rules-using-underline-Hardware-device/20161201-155727
config: xtensa-common_defconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
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=xtensa 

All errors (new ones prefixed by >>):

   net/sched/cls_api.c: In function 'tcf_exts_get_dev':
>> net/sched/cls_api.c:696:13: error: dereferencing pointer to incomplete type
      if (a->ops->get_dev) {
                ^
   net/sched/cls_api.c:697:10: error: dereferencing pointer to incomplete type
       a->ops->get_dev(a, dev_net(dev), hw_dev);
             ^

vim +696 net/sched/cls_api.c

   690  
   691          if (tc_no_actions(exts))
   692                  return -EINVAL;
   693  
   694          tcf_exts_to_list(exts, &actions);
   695          list_for_each_entry(a, &actions, list) {
 > 696                  if (a->ops->get_dev) {
   697                          a->ops->get_dev(a, dev_net(dev), hw_dev);
   698                          break;
   699                  }

---
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