All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: Re: [net-next PATCH RFC v6 12/16] net: dsa: qca8k: add support for mdio read/write in Ethernet packet
Date: Wed, 15 Dec 2021 16:22:38 +0800	[thread overview]
Message-ID: <202112151621.ebBfoRll-lkp@intel.com> (raw)

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

CC: kbuild-all(a)lists.01.org
In-Reply-To: <20211214224409.5770-13-ansuelsmth@gmail.com>
References: <20211214224409.5770-13-ansuelsmth@gmail.com>
TO: Ansuel Smith <ansuelsmth@gmail.com>

Hi Ansuel,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Ansuel-Smith/Add-support-for-qca8k-mdio-rw-in-Ethernet-packet/20211215-064645
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git fe4c82a7e0f06abdf5a6978aa00457b63bd46680
:::::: branch date: 10 hours ago
:::::: commit date: 10 hours ago
config: microblaze-randconfig-s032-20211214 (https://download.01.org/0day-ci/archive/20211215/202112151621.ebBfoRll-lkp(a)intel.com/config)
compiler: microblaze-linux-gcc (GCC) 11.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # apt-get install sparse
        # sparse version: v0.6.4-dirty
        # https://github.com/0day-ci/linux/commit/8036c636992760ad100109c1385110b8fda46e25
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Ansuel-Smith/Add-support-for-qca8k-mdio-rw-in-Ethernet-packet/20211215-064645
        git checkout 8036c636992760ad100109c1385110b8fda46e25
        # save the config file to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=microblaze SHELL=/bin/bash drivers/net/dsa/

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


sparse warnings: (new ones prefixed by >>)
>> drivers/net/dsa/qca8k.c:2577:17: sparse: sparse: typename in expression
   drivers/net/dsa/qca8k.c:2577:24: sparse: sparse: Expected ; at end of statement
   drivers/net/dsa/qca8k.c:2577:24: sparse: sparse: got tag_qca_priv
   drivers/net/dsa/qca8k.c:2577:17: sparse: sparse: undefined identifier 'struct'
   drivers/net/dsa/qca8k.c:2579:17: sparse: sparse: undefined identifier 'priv'
   drivers/net/dsa/qca8k.c:2584:17: sparse: sparse: undefined identifier 'priv'

vim +2577 drivers/net/dsa/qca8k.c

8036c636992760a Ansuel Smith 2021-12-14  2569  
8036c636992760a Ansuel Smith 2021-12-14  2570  static int qca8k_connect_tag_protocol(struct dsa_switch *ds,
8036c636992760a Ansuel Smith 2021-12-14  2571  				      enum dsa_tag_protocol proto)
8036c636992760a Ansuel Smith 2021-12-14  2572  {
8036c636992760a Ansuel Smith 2021-12-14  2573  	struct qca8k_priv *qca8k_priv = ds->priv;
8036c636992760a Ansuel Smith 2021-12-14  2574  
8036c636992760a Ansuel Smith 2021-12-14  2575  	switch (proto) {
8036c636992760a Ansuel Smith 2021-12-14  2576  	case DSA_TAG_PROTO_QCA:
8036c636992760a Ansuel Smith 2021-12-14 @2577  		struct tag_qca_priv *priv;
8036c636992760a Ansuel Smith 2021-12-14  2578  
8036c636992760a Ansuel Smith 2021-12-14  2579  		priv = ds->tagger_data;
8036c636992760a Ansuel Smith 2021-12-14  2580  
8036c636992760a Ansuel Smith 2021-12-14  2581  		mutex_init(&qca8k_priv->mdio_hdr_data.mutex);
8036c636992760a Ansuel Smith 2021-12-14  2582  		init_completion(&qca8k_priv->mdio_hdr_data.rw_done);
8036c636992760a Ansuel Smith 2021-12-14  2583  
8036c636992760a Ansuel Smith 2021-12-14  2584  		priv->rw_reg_ack_handler = qca8k_rw_reg_ack_handler;
8036c636992760a Ansuel Smith 2021-12-14  2585  
8036c636992760a Ansuel Smith 2021-12-14  2586  		break;
8036c636992760a Ansuel Smith 2021-12-14  2587  	default:
8036c636992760a Ansuel Smith 2021-12-14  2588  		return -EOPNOTSUPP;
8036c636992760a Ansuel Smith 2021-12-14  2589  	}
8036c636992760a Ansuel Smith 2021-12-14  2590  
8036c636992760a Ansuel Smith 2021-12-14  2591  	return 0;
b5bf3a0669edf1c Ansuel Smith 2021-12-14  2592  }
b5bf3a0669edf1c Ansuel Smith 2021-12-14  2593  

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

             reply	other threads:[~2021-12-15  8:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-15  8:22 kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-14 22:43 [net-next PATCH RFC v6 00/16] Add support for qca8k mdio rw in Ethernet packet Ansuel Smith
2021-12-14 22:44 ` [net-next PATCH RFC v6 12/16] net: dsa: qca8k: add support for mdio read/write " Ansuel Smith
2021-12-15  9:45   ` kernel test robot
2021-12-15  9:45     ` kernel test robot
2021-12-15  9:49   ` Vladimir Oltean
2021-12-15 16:53     ` Ansuel Smith
2021-12-15 12:47   ` Vladimir Oltean
2021-12-15 16:56     ` Ansuel Smith

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=202112151621.ebBfoRll-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.