[PATCH] arm64: kexec: add support for kexec with spin-table
kernel test robot
lkp at intel.com
Wed Jul 14 23:54:12 PDT 2021
Hi Henry,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on v5.14-rc1 next-20210715]
[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/0day-ci/linux/commits/Henry-Willard/arm64-kexec-add-support-for-kexec-with-spin-table/20210715-014204
base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-randconfig-r025-20210715 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 10.3.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/0day-ci/linux/commit/3dd4112e1b67732182a5e12891867db4e139980c
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Henry-Willard/arm64-kexec-add-support-for-kexec-with-spin-table/20210715-014204
git checkout 3dd4112e1b67732182a5e12891867db4e139980c
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
arch/arm64/kernel/smp_spin_table.c:235:3: error: 'const struct cpu_operations' has no member named 'cpu_die'
235 | .cpu_die = smp_spin_table_cpu_die,
| ^~~~~~~
arch/arm64/kernel/smp_spin_table.c:235:13: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(unsigned int)' [-Werror=incompatible-pointer-types]
235 | .cpu_die = smp_spin_table_cpu_die,
| ^~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/smp_spin_table.c:235:13: note: (near initialization for 'smp_spin_table_ops.cpu_postboot')
arch/arm64/kernel/smp_spin_table.c:236:3: error: 'const struct cpu_operations' has no member named 'cpu_kill'
236 | .cpu_kill = smp_spin_table_cpu_kill,
| ^~~~~~~~
arch/arm64/kernel/smp_spin_table.c:237:3: error: 'const struct cpu_operations' has no member named 'cpu_disable'
237 | .cpu_disable = smp_spin_table_cpu_disable,
| ^~~~~~~~~~~
>> arch/arm64/kernel/smp_spin_table.c:237:17: error: initialization of 'int (*)(long unsigned int)' from incompatible pointer type 'int (*)(unsigned int)' [-Werror=incompatible-pointer-types]
237 | .cpu_disable = smp_spin_table_cpu_disable,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
arch/arm64/kernel/smp_spin_table.c:237:17: note: (near initialization for 'smp_spin_table_ops.cpu_suspend')
cc1: some warnings being treated as errors
vim +237 arch/arm64/kernel/smp_spin_table.c
229
230 const struct cpu_operations smp_spin_table_ops = {
231 .name = "spin-table",
232 .cpu_init = smp_spin_table_cpu_init,
233 .cpu_prepare = smp_spin_table_cpu_prepare,
234 .cpu_boot = smp_spin_table_cpu_boot,
> 235 .cpu_die = smp_spin_table_cpu_die,
236 .cpu_kill = smp_spin_table_cpu_kill,
> 237 .cpu_disable = smp_spin_table_cpu_disable,
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 37355 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210715/09e72f62/attachment-0001.gz>
More information about the linux-arm-kernel
mailing list