* Re: [net-next PATCH RFC v6 12/16] net: dsa: qca8k: add support for mdio read/write in Ethernet packet
[not found] <20211214224409.5770-13-ansuelsmth@gmail.com>
@ 2021-12-15 9:45 ` kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-15 9:45 UTC (permalink / raw)
To: Ansuel Smith; +Cc: llvm, kbuild-all
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-for-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/archive/20211215/202112151702.Xhos4slJ-lkp@intel.com/config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project b6a2ddb6c8ac29412b1361810972e15221fa021c)
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
# install arm64 cross compiling tool for clang build
# apt-get install binutils-aarch64-linux-gnu
# 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=clang make.cross W=1 O=build_dir ARCH=arm64 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>
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 'priv'
priv = ds->tagger_data;
^
drivers/net/dsa/qca8k.c:2584:3: error: use of undeclared identifier 'priv'
priv->rw_reg_ack_handler = 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 = ds->priv;
2574
2575 switch (proto) {
2576 case DSA_TAG_PROTO_QCA:
> 2577 struct tag_qca_priv *priv;
2578
> 2579 priv = 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 = 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@lists.01.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-12-15 9:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20211214224409.5770-13-ansuelsmth@gmail.com>
2021-12-15 9:45 ` [net-next PATCH RFC v6 12/16] net: dsa: qca8k: add support for mdio read/write in Ethernet packet kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox