From: kbuild test robot <lkp@intel.com>
To: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com,
"David S. Miller" <davem@davemloft.net>,
Scott Feldman <sfeldma@gmail.com>, Jiri Pirko <jiri@resnulli.us>,
Florian Fainelli <f.fainelli@gmail.com>,
Andrew Lunn <andrew@lunn.ch>,
Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Subject: Re: [PATCH net-next 4/6] net: switchdev: pass callback to dump operation
Date: Tue, 29 Sep 2015 23:43:22 +0800 [thread overview]
Message-ID: <201509292329.P7Pg4e4v%fengguang.wu@intel.com> (raw)
In-Reply-To: <1443539054-25997-5-git-send-email-vivien.didelot@savoirfairelinux.com>
[-- Attachment #1: Type: text/plain, Size: 2070 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 20926 bytes --]
next prev parent reply other threads:[~2015-09-29 15:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-29 15:04 [PATCH net-next 0/6] net: switchdev: use specific switchdev_obj_* Vivien Didelot
2015-09-29 15:04 ` [PATCH net-next 1/6] net: switchdev: remove dev in port_vlan_dump_put Vivien Didelot
2015-09-29 15:04 ` [PATCH net-next 2/6] net: switchdev: move dev in switchdev_fdb_dump Vivien Didelot
2015-09-29 15:04 ` [PATCH net-next 3/6] net: switchdev: remove dev from switchdev_obj cb Vivien Didelot
2015-09-29 15:04 ` [PATCH net-next 4/6] net: switchdev: pass callback to dump operation Vivien Didelot
2015-09-29 15:43 ` kbuild test robot [this message]
2015-09-29 15:16 ` [PATCH net-next 5/6] net: switchdev: abstract object in add/del ops Vivien Didelot
2015-09-29 15:16 ` [PATCH net-next 6/6] net: switchdev: extract struct switchdev_obj_* Vivien Didelot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201509292329.P7Pg4e4v%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=jiri@resnulli.us \
--cc=kbuild-all@01.org \
--cc=kernel@savoirfairelinux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=sfeldma@gmail.com \
--cc=vivien.didelot@savoirfairelinux.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®