[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202207240750.2zRvF1Qu-lkp@intel.com>
Date: Sun, 24 Jul 2022 07:52:01 +0800
From: kernel test robot <lkp@...el.com>
To: Christian Marangi <ansuelsmth@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, Jens Axboe <axboe@...nel.dk>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org
Cc: llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
netdev@...r.kernel.org
Subject: Re: [net-next PATCH v3 03/14] net: dsa: qca8k: move mib struct to
common code
Hi Christian,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on net-next/master]
url: https://github.com/intel-lab-lkp/linux/commits/Christian-Marangi/net-dsa-qca8k-code-split-for-qca8k/20220723-222259
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 502c6f8cedcce7889ccdefeb88ce36b39acd522f
config: x86_64-randconfig-a005 (https://download.01.org/0day-ci/archive/20220724/202207240750.2zRvF1Qu-lkp@intel.com/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 12fbd2d377e396ad61bce56d71c98a1eb1bebfa9)
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/intel-lab-lkp/linux/commit/21c0b9bac2dea29fbb83f818459e7d6f6c74e83e
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Christian-Marangi/net-dsa-qca8k-code-split-for-qca8k/20220723-222259
git checkout 21c0b9bac2dea29fbb83f818459e7d6f6c74e83e
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/dsa/qca/
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
>> drivers/net/dsa/qca/qca8k-8xxx.c:3208:9: error: initializer element is not a compile-time constant
.ops = qca8xxx_ops,
^~~~~~~~~~~
drivers/net/dsa/qca/qca8k-8xxx.c:3214:9: error: initializer element is not a compile-time constant
.ops = qca8xxx_ops,
^~~~~~~~~~~
drivers/net/dsa/qca/qca8k-8xxx.c:3220:9: error: initializer element is not a compile-time constant
.ops = qca8xxx_ops,
^~~~~~~~~~~
3 errors generated.
vim +3208 drivers/net/dsa/qca/qca8k-8xxx.c
7f6400ae8410e85 drivers/net/dsa/qca/qca8k.c Christian Marangi 2022-07-23 3203
f477d1c8bdbef4f drivers/net/dsa/qca8k.c Christian Marangi 2021-10-14 3204 static const struct qca8k_match_data qca8327 = {
f477d1c8bdbef4f drivers/net/dsa/qca8k.c Christian Marangi 2021-10-14 3205 .id = QCA8K_ID_QCA8327,
f477d1c8bdbef4f drivers/net/dsa/qca8k.c Christian Marangi 2021-10-14 3206 .reduced_package = true,
c126f118b330ccf drivers/net/dsa/qca8k.c Christian Marangi 2021-11-22 3207 .mib_count = QCA8K_QCA832X_MIB_COUNT,
7f6400ae8410e85 drivers/net/dsa/qca/qca8k.c Christian Marangi 2022-07-23 @3208 .ops = qca8xxx_ops,
f477d1c8bdbef4f drivers/net/dsa/qca8k.c Christian Marangi 2021-10-14 3209 };
f477d1c8bdbef4f drivers/net/dsa/qca8k.c Christian Marangi 2021-10-14 3210
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists