Hi Florian,

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

url:    
https://github.com/0day-ci/linux/commits/Florian-Fainelli/net-switchdev-Avoid-sleep-in-atomic-with-DSA/20170110-080755
config: x86_64-randconfig-x014-201702 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   net/switchdev/switchdev.c: In function '__switchdev_port_bridge_getlink':
>> net/switchdev/switchdev.c:844:48: error: 'd' undeclared (first use in this 
>> function)
     return ndo_dflt_bridge_getlink(skb, pid, seq, d, mode,
                                                   ^
   net/switchdev/switchdev.c:844:48: note: each undeclared identifier is 
reported only once for each function it appears in
>> net/switchdev/switchdev.c:847:1: warning: control reaches end of non-void 
>> function [-Wreturn-type]
    }
    ^

vim +/d +844 net/switchdev/switchdev.c

   838                  return -EOPNOTSUPP;
   839  
   840          err = switchdev_port_attr_get(dev, &attr);
   841          if (err && err != -EOPNOTSUPP)
   842                  return err;
   843  
 > 844          return ndo_dflt_bridge_getlink(skb, pid, seq, d, mode,
   845                                         attr.u.brport_flags, mask, 
nlflags,
   846                                         filter_mask, fill_cb);
 > 847  }
   848  
   849  /**
   850   *      switchdev_port_bridge_getlink - Get bridge port attributes

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