Hi Vivien, [auto build test results on next-20150929 -- if it's inappropriate base, please ignore]
config: i386-randconfig-s1-201539 (attached as .config)
reproduce:
git checkout b215cce51157820c4fb92ecfdc72f281a4286676
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
In file included from net/core/rtnetlink.c:47:0:
>> include/net/switchdev.h:216:1: error: expected identifier or '(' before '{'
>> token
{
^
>> include/net/switchdev.h:213:19: warning: 'switchdev_port_obj_dump' declared
>> 'static' but never defined [-Wunused-function]
static inline int switchdev_port_obj_dump(struct net_device *dev,
^
vim +216 include/net/switchdev.h
491d0f15 Scott Feldman 2015-05-10 207 static inline int
switchdev_port_obj_del(struct net_device *dev,
491d0f15 Scott Feldman 2015-05-10 208
struct switchdev_obj *obj)
491d0f15 Scott Feldman 2015-05-10 209 {
491d0f15 Scott Feldman 2015-05-10 210 return -EOPNOTSUPP;
491d0f15 Scott Feldman 2015-05-10 211 }
491d0f15 Scott Feldman 2015-05-10 212
45d4122c Samudrala, Sridhar 2015-05-13 @213 static inline int
switchdev_port_obj_dump(struct net_device *dev,
b215cce5 Vivien Didelot 2015-09-29 214
enum switchdev_obj_id id, void *obj,
b215cce5 Vivien Didelot 2015-09-29 215
int (*cb)(void *obj));
45d4122c Samudrala, Sridhar 2015-05-13 @216 {
45d4122c Samudrala, Sridhar 2015-05-13 217 return -EOPNOTSUPP;
45d4122c Samudrala, Sridhar 2015-05-13 218 }
45d4122c Samudrala, Sridhar 2015-05-13 219
:::::: The code at line 216 was first introduced by commit
:::::: 45d4122ca7cdb3a4b91f392605cd22cfa75f1d99 switchdev: add support for fdb
add/del/dump via switchdev_port_obj ops.
:::::: TO: Samudrala, Sridhar <[email protected]>
:::::: CC: David S. Miller <[email protected]>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data
