Hi Jacob, [auto build test ERROR on net/master] [also build test ERROR on v4.5-rc3 next-20160208] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Jacob-Keller/ethtool-correctly-ensure-GS-CHANNELS-doesn-t-conflict-with-GS-RXFH/20160209-041131 config: xtensa-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=xtensa All errors (new ones prefixed by >>): net/core/ethtool.c: In function 'ethtool_set_channels': >> net/core/ethtool.c:1289:6: error: void value not ignored as it ought to be ret = dev->ethtool_ops->get_channels(dev, &max); ^ net/core/ethtool.c:1303:6: error: implicit declaration of function 'ethtool_get_max_rxfh_channel' [-Werror=implicit-function-declaration] ethtool_get_max_rxfh_channel(dev, &max_rx) && ^ net/core/ethtool.c:1306:6: error: expected ')' before 'return' return -EINVAL; ^ net/core/ethtool.c:1309:1: error: expected expression before '}' token } ^ net/core/ethtool.c:1309:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc1: some warnings being treated as errors vim +1289 net/core/ethtool.c 1283 if (!dev->ethtool_ops->set_channels || !dev->ethtool_ops->get_channels) 1284 return -EOPNOTSUPP; 1285 1286 if (copy_from_user(&channels, useraddr, sizeof(channels))) 1287 return -EFAULT; 1288 > 1289 ret = dev->ethtool_ops->get_channels(dev, &max); 1290 if (ret) 1291 return ret; 1292 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: Binary data