kbuild test robot
2019-Dec-05 02:47 UTC
[vhost:linux-next 3/11] drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2622:20: error: initialization from incompatible pointer type
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git linux-next head: b5fe11663b48ca267829b34a65b4133e4e34c993 commit: a256bb8c551310746843ed85de0416ae0571601e [3/11] netdev: pass the stuck queue to the timeout handler config: arm64-allyesconfig (attached as .config) compiler: aarch64-linux-gcc (GCC) 7.5.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 a256bb8c551310746843ed85de0416ae0571601e # save the attached .config to linux build tree GCC_VERSION=7.5.0 make.cross ARCH=arm64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp at intel.com> All errors (new ones prefixed by >>):>> drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2622:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types].ndo_tx_timeout = dpaa_tx_timeout, ^~~~~~~~~~~~~~~ drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2622:20: note: (near initialization for 'dpaa_ops.ndo_tx_timeout') cc1: some warnings being treated as errors vim +2622 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c 4664856e9ca2e5 Yangbo Lu 2018-06-25 2617 9ad1a37493338c Madalin Bucur 2016-11-15 2618 static const struct net_device_ops dpaa_ops = { 9ad1a37493338c Madalin Bucur 2016-11-15 2619 .ndo_open = dpaa_open, 9ad1a37493338c Madalin Bucur 2016-11-15 2620 .ndo_start_xmit = dpaa_start_xmit, 9ad1a37493338c Madalin Bucur 2016-11-15 2621 .ndo_stop = dpaa_eth_stop, 9ad1a37493338c Madalin Bucur 2016-11-15 @2622 .ndo_tx_timeout = dpaa_tx_timeout, 9ad1a37493338c Madalin Bucur 2016-11-15 2623 .ndo_get_stats64 = dpaa_get_stats64, 6e8b0ff1ba4cc1 Joakim Tjernlund 2018-12-14 2624 .ndo_change_carrier = fixed_phy_change_carrier, 9ad1a37493338c Madalin Bucur 2016-11-15 2625 .ndo_set_mac_address = dpaa_set_mac_address, 9ad1a37493338c Madalin Bucur 2016-11-15 2626 .ndo_validate_addr = eth_validate_addr, 9ad1a37493338c Madalin Bucur 2016-11-15 2627 .ndo_set_rx_mode = dpaa_set_rx_mode, 1763413ac2c15f Michael Walle 2017-02-20 2628 .ndo_do_ioctl = dpaa_ioctl, 2ea08f8261b146 Camelia Groza 2016-07-25 2629 .ndo_setup_tc = dpaa_setup_tc, 9ad1a37493338c Madalin Bucur 2016-11-15 2630 }; 9ad1a37493338c Madalin Bucur 2016-11-15 2631 :::::: The code at line 2622 was first introduced by commit :::::: 9ad1a37493338cacf04e2c93acf44d151a7adda8 dpaa_eth: add support for DPAA Ethernet :::::: TO: Madalin Bucur <madalin.bucur at nxp.com> :::::: CC: David S. Miller <davem at davemloft.net> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/hyperkitty/list/kbuild-all at lists.01.org Intel Corporation -------------- next part -------------- A non-text attachment was scrubbed... Name: .config.gz Type: application/gzip Size: 67256 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20191205/21907e95/attachment-0001.gz>