Netdev Archive on lore.kernel.org
 help / color / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Michael S. Tsirkin" <mst@redhat.com>
Cc: kbuild-all@lists.01.org, kvm@vger.kernel.org,
	virtualization@lists.linux-foundation.org,
	netdev@vger.kernel.org
Subject: [vhost:linux-next 3/11] drivers/net/ethernet/freescale/dpaa/dpaa_eth.c:2622:20: error: initialization from incompatible pointer type
Date: Thu, 5 Dec 2019 10:47:19 +0800
Message-ID: <201912051013.sxrGPxkW%lkp@intel.com> (raw)

[-- 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 --]

                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201912051013.sxrGPxkW%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=kvm@vger.kernel.org \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=virtualization@lists.linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Netdev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/netdev/0 netdev/git/0.git
	git clone --mirror https://lore.kernel.org/netdev/1 netdev/git/1.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 netdev netdev/ https://lore.kernel.org/netdev \
		netdev@vger.kernel.org
	public-inbox-index netdev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.netdev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git