kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [vhost:linux-next 3/11] drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2622:20: error: initialization from incompatible pointer type
@ 2019-12-05  2:47 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-12-05  2:47 UTC (permalink / raw)
  To: Michael S. Tsirkin; +Cc: kbuild-all, kvm, virtualization, netdev

[-- Attachment #1: Type: text/plain, Size: 2841 bytes --]

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

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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 67256 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-05  2:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-05  2:47 [vhost:linux-next 3/11] drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2622:20: error: initialization from incompatible pointer type kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).