Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1235321
| From | kbuild test robot <lkp@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH net-next 4/6] net: switchdev: pass callback to dump operation |
| Date | 2015-09-29 17:50 +0200 |
| Message-ID | <qe5kf-2lV-25@gated-at.bofh.it> (permalink) |
| References | <qe4Rb-1Nk-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
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 <sridhar.samudrala@intel.com>
:::::: CC: David S. Miller <davem@davemloft.net>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH net-next 4/6] net: switchdev: pass callback to dump operation Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2015-09-29 17:20 +0200 Re: [PATCH net-next 4/6] net: switchdev: pass callback to dump operation kbuild test robot <lkp@intel.com> - 2015-09-29 17:50 +0200
csiph-web