lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <201509292329.P7Pg4e4v%fengguang.wu@intel.com>
Date:	Tue, 29 Sep 2015 23:43:22 +0800
From:	kbuild test robot <lkp@...el.com>
To:	Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Cc:	kbuild-all@...org, netdev@...r.kernel.org,
	linux-kernel@...r.kernel.org, kernel@...oirfairelinux.com,
	"David S. Miller" <davem@...emloft.net>,
	Scott Feldman <sfeldma@...il.com>,
	Jiri Pirko <jiri@...nulli.us>,
	Florian Fainelli <f.fainelli@...il.com>,
	Andrew Lunn <andrew@...n.ch>,
	Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Subject: Re: [PATCH net-next 4/6] net: switchdev: pass callback to dump
 operation

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@...el.com>
:::::: CC: David S. Miller <davem@...emloft.net>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Download attachment ".config.gz" of type "application/octet-stream" (20926 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ