Re: [PATCH v1 1/2] arm64: kprobes: implement optprobes
From: kernel test robot
Date: Fri Oct 29 2021 - 20:26:46 EST
Hi Janet,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on arm64/for-next/core]
[also build test ERROR on v5.15-rc7]
[cannot apply to next-20211029]
[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/Janet-Liu/arm64-kprobes-implement-optprobes/20211029-203008
base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core
config: arm64-randconfig-r013-20211028 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 5db7568a6a1fcb408eb8988abdaff2a225a8eb72)
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/de1ae53eec913c9f0e37aff234c567ee7d2f8582
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Janet-Liu/arm64-kprobes-implement-optprobes/20211029-203008
git checkout de1ae53eec913c9f0e37aff234c567ee7d2f8582
# save the attached .config 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
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
All errors (new ones prefixed by >>):
>> <instantiation>:1:5: error: expected absolute expression
.if trampoline == 0
^
arch/arm64/kernel/probes/kprobes_trampoline.S:25:2: note: while in macro instantiation
restore_all_base_regs
^
--
>> <instantiation>:1:5: error: expected absolute expression
.if trampoline == 0
^
arch/arm64/kernel/probes/opt_head.S:23:2: note: while in macro instantiation
restore_all_base_regs 1
^
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip