Content-Type: multipart/mixed; boundary="===============0984014428806242407==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@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 17:45:07 +0800 Message-ID: <202112151702.Xhos4slJ-lkp@intel.com> In-Reply-To: <20211214224409.5770-13-ansuelsmth@gmail.com> List-Id: --===============0984014428806242407== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Ansuel, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on net-next/master] url: https://github.com/0day-ci/linux/commits/Ansuel-Smith/Add-support-f= or-qca8k-mdio-rw-in-Ethernet-packet/20211215-064645 base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git = fe4c82a7e0f06abdf5a6978aa00457b63bd46680 config: arm64-randconfig-r016-20211214 (https://download.01.org/0day-ci/arc= hive/20211215/202112151702.Xhos4slJ-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a2dd= b6c8ac29412b1361810972e15221fa021c) reproduce (this is a W=3D1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/= make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install arm64 cross compiling tool for clang build # apt-get install binutils-aarch64-linux-gnu # https://github.com/0day-ci/linux/commit/8036c636992760ad100109c13= 85110b8fda46e25 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=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Darm64 SHELL=3D/bin/bash drivers/net/dsa/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/net/dsa/qca8k.c:2577:3: error: expected expression struct tag_qca_priv *priv; ^ >> drivers/net/dsa/qca8k.c:2579:3: error: use of undeclared identifier 'pri= v' priv =3D ds->tagger_data; ^ drivers/net/dsa/qca8k.c:2584:3: error: use of undeclared identifier 'pri= v' priv->rw_reg_ack_handler =3D qca8k_rw_reg_ack_handler; ^ 3 errors generated. vim +2577 drivers/net/dsa/qca8k.c 2569 = 2570 static int qca8k_connect_tag_protocol(struct dsa_switch *ds, 2571 enum dsa_tag_protocol proto) 2572 { 2573 struct qca8k_priv *qca8k_priv =3D ds->priv; 2574 = 2575 switch (proto) { 2576 case DSA_TAG_PROTO_QCA: > 2577 struct tag_qca_priv *priv; 2578 = > 2579 priv =3D ds->tagger_data; 2580 = 2581 mutex_init(&qca8k_priv->mdio_hdr_data.mutex); 2582 init_completion(&qca8k_priv->mdio_hdr_data.rw_done); 2583 = 2584 priv->rw_reg_ack_handler =3D qca8k_rw_reg_ack_handler; 2585 = 2586 break; 2587 default: 2588 return -EOPNOTSUPP; 2589 } 2590 = 2591 return 0; 2592 } 2593 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============0984014428806242407==--