[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202204231212.Os1QwhiN-lkp@intel.com>
Date: Sat, 23 Apr 2022 12:57:00 +0800
From: kernel test robot <lkp@...el.com>
To: Donghai Qiao <dqiao@...hat.com>, akpm@...ux-foundation.org,
sfr@...b.auug.org.au, arnd@...db.de, heying24@...wei.com,
andriy.shevchenko@...ux.intel.com, axboe@...nel.dk,
rdunlap@...radead.org, tglx@...utronix.de, gor@...ux.ibm.com
Cc: kbuild-all@...ts.01.org, donghai.w.qiao@...il.com,
linux-kernel@...r.kernel.org, Donghai Qiao <dqiao@...hat.com>
Subject: Re: [PATCH v2 01/11] smp: consolidate the structure definitions to
smp.h
Hi Donghai,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on powerpc/next]
[also build test ERROR on rafael-pm/linux-next linus/master v5.18-rc3 next-20220422]
[cannot apply to tip/x86/core]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/intel-lab-lkp/linux/commits/Donghai-Qiao/smp-cross-CPU-call-interface/20220423-060436
base: https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git next
config: sparc-randconfig-r026-20220422 (https://download.01.org/0day-ci/archive/20220423/202204231212.Os1QwhiN-lkp@intel.com/config)
compiler: sparc64-linux-gcc (GCC) 11.2.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/intel-lab-lkp/linux/commit/1c14bdafe09740690b249824f3526527e4c02d2a
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review Donghai-Qiao/smp-cross-CPU-call-interface/20220423-060436
git checkout 1c14bdafe09740690b249824f3526527e4c02d2a
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=sparc SHELL=/bin/bash lib/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from include/linux/lockdep.h:14,
from include/linux/spinlock.h:62,
from include/linux/kref.h:16,
from include/linux/mm_types.h:8,
from include/linux/buildid.h:5,
from include/linux/module.h:14,
from lib/test_bitops.c:9:
>> include/linux/smp.h:131:14: error: 'seq_type' defined but not used [-Werror=unused-variable]
131 | static char *seq_type[] = {
| ^~~~~~~~
cc1: all warnings being treated as errors
vim +/seq_type +131 include/linux/smp.h
130
> 131 static char *seq_type[] = {
132 [CFD_SEQ_QUEUE] = "queue",
133 [CFD_SEQ_IPI] = "ipi",
134 [CFD_SEQ_NOIPI] = "noipi",
135 [CFD_SEQ_PING] = "ping",
136 [CFD_SEQ_PINGED] = "pinged",
137 [CFD_SEQ_HANDLE] = "handle",
138 [CFD_SEQ_DEQUEUE] = "dequeue (src CPU 0 == empty)",
139 [CFD_SEQ_IDLE] = "idle",
140 [CFD_SEQ_GOTIPI] = "gotipi",
141 [CFD_SEQ_HDLEND] = "hdlend (src CPU 0 == early)",
142 };
143
--
0-DAY CI Kernel Test Service
https://01.org/lkp
Powered by blists - more mailing lists