devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: George McCollister <george.mccollister@gmail.com>,
	Andrew Lunn <andrew@lunn.ch>,
	Vivien Didelot <vivien.didelot@gmail.com>,
	Florian Fainelli <f.fainelli@gmail.com>,
	Vladimir Oltean <olteanv@gmail.com>
Cc: kbuild-all@lists.01.org, "David S . Miller" <davem@davemloft.net>,
	netdev@vger.kernel.org, devicetree@vger.kernel.org,
	George McCollister <george.mccollister@gmail.com>
Subject: Re: [PATCH net-next v3 2/3] net: dsa: add Arrow SpeedChips XRS700x driver
Date: Tue, 8 Dec 2020 08:40:27 +0800	[thread overview]
Message-ID: <202012080829.sTB6QzCz-lkp@intel.com> (raw)
In-Reply-To: <20201207220355.8707-3-george.mccollister@gmail.com>

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

Hi George,

Thank you for the patch! Perhaps something to improve:

[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/George-McCollister/Arrow-SpeedChips-XRS700x-DSA-Driver/20201208-060957
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git b1f7b0983601af4054876bca42e3094bf6b034c0
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://github.com/0day-ci/linux/commit/17e19d3e01ec0a36ca45992b96580d271e9f6f75
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review George-McCollister/Arrow-SpeedChips-XRS700x-DSA-Driver/20201208-060957
        git checkout 17e19d3e01ec0a36ca45992b96580d271e9f6f75
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   drivers/net/dsa/xrs700x/xrs700x.c:511:3: error: 'const struct dsa_switch_ops' has no member named 'get_stats64'
     511 |  .get_stats64  = xrs700x_getstats64,
         |   ^~~~~~~~~~~
   drivers/net/dsa/xrs700x/xrs700x.c:511:18: error: initialization of 'int (*)(struct dsa_switch *, int,  int)' from incompatible pointer type 'void (*)(struct dsa_switch *, int,  struct rtnl_link_stats64 *)' [-Werror=incompatible-pointer-types]
     511 |  .get_stats64  = xrs700x_getstats64,
         |                  ^~~~~~~~~~~~~~~~~~
   drivers/net/dsa/xrs700x/xrs700x.c:511:18: note: (near initialization for 'xrs700x_ops.get_sset_count')
>> drivers/net/dsa/xrs700x/xrs700x.c:511:18: warning: initialized field overwritten [-Woverride-init]
   drivers/net/dsa/xrs700x/xrs700x.c:511:18: note: (near initialization for 'xrs700x_ops.get_sset_count')
   cc1: some warnings being treated as errors

vim +511 drivers/net/dsa/xrs700x/xrs700x.c

   500	
   501	static const struct dsa_switch_ops xrs700x_ops = {
   502		.get_tag_protocol	= xrs700x_get_tag_protocol,
   503		.setup			= xrs700x_setup,
   504		.teardown		= xrs700x_teardown,
   505		.port_stp_state_set	= xrs700x_port_stp_state_set,
   506		.phylink_validate	= xrs700x_phylink_validate,
   507		.phylink_mac_link_up	= xrs700x_mac_link_up,
   508		.get_strings		= xrs700x_get_strings,
   509		.get_sset_count		= xrs700x_get_sset_count,
   510		.get_ethtool_stats	= xrs700x_get_ethtool_stats,
 > 511		.get_stats64		= xrs700x_getstats64,
   512		.port_bridge_join	= xrs700x_bridge_join,
   513		.port_bridge_leave	= xrs700x_bridge_leave,
   514	};
   515	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

  reply	other threads:[~2020-12-08  0:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07 22:03 [PATCH net-next v3 0/3] Arrow SpeedChips XRS700x DSA Driver George McCollister
2020-12-07 22:03 ` [PATCH net-next v3 1/3] dsa: add support for Arrow XRS700x tag trailer George McCollister
2020-12-07 22:03 ` [PATCH net-next v3 2/3] net: dsa: add Arrow SpeedChips XRS700x driver George McCollister
2020-12-08  0:40   ` kernel test robot [this message]
2020-12-08  0:47     ` George McCollister
2020-12-08  1:44       ` Jakub Kicinski
2020-12-07 22:03 ` [PATCH net-next v3 3/3] dt-bindings: net: dsa: add bindings for xrs700x switches George McCollister
2020-12-10  3:54   ` Rob Herring

Reply instructions:

You may reply publicly 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=202012080829.sTB6QzCz-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=devicetree@vger.kernel.org \
    --cc=f.fainelli@gmail.com \
    --cc=george.mccollister@gmail.com \
    --cc=kbuild-all@lists.01.org \
    --cc=netdev@vger.kernel.org \
    --cc=olteanv@gmail.com \
    --cc=vivien.didelot@gmail.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).