Messages in this thread | | | Date | Wed, 31 Aug 2022 05:58:24 +0800 | From | kernel test robot <> | Subject | Re: [PATCH] audit: remove obvious unnecessary header files |
| |
Hi wuchi,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on pcmoore-audit/next] [also build test ERROR on linus/master v6.0-rc3 next-20220830] [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#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/wuchi/audit-remove-obvious-unnecessary-header-files/20220830-185249 base: https://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git next config: arm-randconfig-r015-20220830 (https://download.01.org/0day-ci/archive/20220831/202208310549.y7u0iX8g-lkp@intel.com/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.1.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/f693f8ef00782656e1a94129e11611d410914905 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review wuchi/audit-remove-obvious-unnecessary-header-files/20220830-185249 git checkout f693f8ef00782656e1a94129e11611d410914905 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/prefetch.h:15, from arch/arm/include/asm/atomic.h:12, from include/linux/atomic.h:7, from include/asm-generic/bitops/lock.h:5, from arch/arm/include/asm/bitops.h:245, from include/linux/bitops.h:67, from include/linux/log2.h:12, from include/asm-generic/div64.h:55, from arch/arm/include/asm/div64.h:107, from include/linux/math.h:6, from include/linux/math64.h:6, from include/linux/time64.h:5, from include/linux/restart_block.h:10, from include/linux/thread_info.h:14, from include/asm-generic/preempt.h:5, from ./arch/arm/include/generated/asm/preempt.h:1, from include/linux/preempt.h:78, from include/linux/spinlock.h:55, from include/linux/wait.h:9, from include/linux/wait_bit.h:8, from include/linux/fs.h:6, from kernel/auditsc.c:36: kernel/auditsc.c: In function 'audit_seccomp': >> arch/arm/include/asm/processor.h:90:47: error: implicit declaration of function 'task_stack_page'; did you mean 'task_stack_vm_area'? [-Werror=implicit-function-declaration] 90 | ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1) | ^~~~~~~~~~~~~~~ arch/arm/include/asm/processor.h:92:25: note: in expansion of macro 'task_pt_regs' 92 | #define KSTK_EIP(tsk) task_pt_regs(tsk)->ARM_pc | ^~~~~~~~~~~~ kernel/auditsc.c:2987:47: note: in expansion of macro 'KSTK_EIP' 2987 | in_compat_syscall(), KSTK_EIP(current), code); | ^~~~~~~~ cc1: some warnings being treated as errors
vim +90 arch/arm/include/asm/processor.h
^1da177e4c3f41 include/asm-arm/processor.h Linus Torvalds 2005-04-16 88 815d5ec86eb8d5 include/asm-arm/processor.h Al Viro 2006-01-12 89 #define task_pt_regs(p) \ 32d39a9355780b include/asm-arm/processor.h Al Viro 2006-01-12 @90 ((struct pt_regs *)(THREAD_START_SP + task_stack_page(p)) - 1) 815d5ec86eb8d5 include/asm-arm/processor.h Al Viro 2006-01-12 91
-- 0-DAY CI Kernel Test Service https://01.org/lkp
| |