tree:
https://github.com/lunn/linux.git v5.7-rc4-net-next-cable-test-tdr
head: 53c1ec2fa62252d289cd0e9fa711c2f49a3ecf71
commit: cef86bd8dfcd394e8882e4005f8cd3244e775b14 [3/7] net: ethtool: Add helpers for cable
test TDR data
config: openrisc-randconfig-r026-20200513 (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.3.0
reproduce:
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout cef86bd8dfcd394e8882e4005f8cd3244e775b14
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day GCC_VERSION=9.3.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from net/ethtool/ioctl.c:29:
> include/linux/ethtool_netlink.h:64:1: error: expected identifier
or '(' before '{' token
64 | {
| ^
include/linux/ethtool_netlink.h:62:19: warning: 'ethnl_cable_test_step' declared
'static' but never defined [-Wunused-function]
62 | static inline int ethnl_cable_test_step(struct phy_device *phydev, u32 first,
| ^~~~~~~~~~~~~~~~~~~~~
vim +64 include/linux/ethtool_netlink.h
57
58 static inline int ethnl_cable_test_pulse(struct phy_device *phydev, u16 mV)
59 {
60 return -EOPNOTSUPP;
61 }
62 static inline int ethnl_cable_test_step(struct phy_device *phydev, u32 first,
63 u32 last, u32 step);
64 {
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org