[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202011250811.5dYDzpXS-lkp@intel.com>
Date: Wed, 25 Nov 2020 08:33:15 +0800
From: kernel test robot <lkp@...el.com>
To: Gabriel Krisman Bertazi <krisman@...labora.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
x86@...nel.org, Thomas Gleixner <tglx@...utronix.de>,
Kees Cook <keescook@...omium.org>
Subject: [tip:core/entry 1/1] include/linux/thread_info.h:136:45: error:
'TIF_WORK_SECCOMP' undeclared; did you mean
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core/entry
head: 0395124a2fbff5132afee5767071ebe7e05885ac
commit: 0395124a2fbff5132afee5767071ebe7e05885ac [1/1] entry: Fix boot for !CONFIG_GENERIC_ENTRY
config: sh-allmodconfig (attached as .config)
compiler: sh4-linux-gcc (GCC) 9.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://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=0395124a2fbff5132afee5767071ebe7e05885ac
git remote add tip https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git
git fetch --no-tags tip core/entry
git checkout 0395124a2fbff5132afee5767071ebe7e05885ac
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=sh
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 >>):
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
Depends on SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && HAS_DMA
Selected by
- SND_ATMEL_SOC_SSC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC
- SND_ATMEL_SOC_SSC_PDC && SOUND && !UML && SND && SND_SOC && SND_ATMEL_SOC && ATMEL_SSC
In file included from include/asm-generic/bug.h:5,
from arch/sh/include/asm/bug.h:112,
from include/linux/bug.h:5,
from include/linux/mmdebug.h:5,
from include/linux/mm.h:9,
from arch/sh/kernel/asm-offsets.c:14:
include/linux/seccomp.h: In function 'secure_computing':
>> include/linux/thread_info.h:136:45: error: 'TIF_WORK_SECCOMP' undeclared (first use in this function); did you mean
136 | test_ti_thread_flag(current_thread_info(), TIF_WORK_##fl)
| ^~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) 0)
| ^
include/linux/seccomp.h:45:15: note: in expansion of macro 'test_syscall_work'
45 | if (unlikely(test_syscall_work(SECCOMP)))
| ^~~~~~~~~~~~~~~~~
include/linux/thread_info.h:136:45: note: each undeclared identifier is reported only once for each function it appears in
136 | test_ti_thread_flag(current_thread_info(), TIF_WORK_##fl)
| ^~~~~~~~~
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
78 | # define unlikely(x) 0)
| ^
include/linux/seccomp.h:45:15: note: in expansion of macro 'test_syscall_work'
45 | if (unlikely(test_syscall_work(SECCOMP)))
| ^~~~~~~~~~~~~~~~~
Makefile arch include kernel scripts source usr [scripts/Makefile.build:117: arch/sh/kernel/asm-offsets.s] Error 1
Target '__build' not remade because of errors.
Makefile arch include kernel scripts source usr [Makefile:1200: prepare0] Error 2
Target 'prepare' not remade because of errors.
make: Makefile arch include kernel scripts source usr [Makefile:185: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/TIF_WORK_SECCOMP +136 include/linux/thread_info.h
132
133 #define set_syscall_work(fl) \
134 set_ti_thread_flag(current_thread_info(), TIF_WORK_##fl)
135 #define test_syscall_work(fl) \
> 136 test_ti_thread_flag(current_thread_info(), TIF_WORK_##fl)
137 #define clear_syscall_work(fl) \
138 clear_ti_thread_flag(current_thread_info(), TIF_WORK_##fl)
139
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (53579 bytes)
Powered by blists - more mailing lists