From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [RFC PATCH 2/2] KUnit: KASAN Integration
Date: Thu, 27 Feb 2020 12:12:33 +0800 [thread overview]
Message-ID: <202002271245.aboYII3e%lkp@intel.com> (raw)
In-Reply-To: <20200227024301.217042-2-trishalfonso@google.com>
[-- Attachment #1: Type: text/plain, Size: 12778 bytes --]
Hi Patricia,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on tip/sched/core]
[also build test ERROR on linus/master v5.6-rc3]
[cannot apply to linux/master next-20200226]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Patricia-Alfonso/Port-KASAN-Tests-to-KUnit/20200227-104526
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git a0f03b617c3b2644d3d47bf7d9e60aed01bd5b10
config: s390-randconfig-a001-20200227 (attached as .config)
compiler: s390-linux-gcc (GCC) 7.5.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
GCC_VERSION=7.5.0 make.cross ARCH=s390
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
In file included from include/linux/crypto.h:21:0,
from include/crypto/hash.h:11,
from include/linux/uio.h:10,
from include/linux/socket.h:8,
from include/linux/compat.h:15,
from arch/s390/include/asm/elf.h:132,
from include/linux/elf.h:5,
from include/linux/module.h:18,
from include/kunit/test.h:15,
from include/linux/sched.h:35,
from include/linux/kvm_host.h:12,
from arch/s390/kernel/asm-offsets.c:11:
include/linux/uaccess.h: In function 'pagefault_disabled_inc':
>> include/linux/uaccess.h:168:9: error: dereferencing pointer to incomplete type 'struct task_struct'
current->pagefault_disabled++;
^~
In file included from include/linux/fs.h:39:0,
from include/linux/compat.h:17,
from arch/s390/include/asm/elf.h:132,
from include/linux/elf.h:5,
from include/linux/module.h:18,
from include/kunit/test.h:15,
from include/linux/sched.h:35,
from include/linux/kvm_host.h:12,
from arch/s390/kernel/asm-offsets.c:11:
include/linux/ioprio.h: In function 'task_nice_ioprio':
>> include/linux/ioprio.h:56:10: error: implicit declaration of function 'task_nice'; did you mean '__NR_nice'? [-Werror=implicit-function-declaration]
return (task_nice(task) + 20) / 5;
^~~~~~~~~
__NR_nice
In file included from arch/s390/include/asm/compat.h:9:0,
from include/linux/compat.h:22,
from arch/s390/include/asm/elf.h:132,
from include/linux/elf.h:5,
from include/linux/module.h:18,
from include/kunit/test.h:15,
from include/linux/sched.h:35,
from include/linux/kvm_host.h:12,
from arch/s390/kernel/asm-offsets.c:11:
include/linux/sched/task_stack.h: In function 'task_stack_page':
>> include/linux/sched/task_stack.h:21:13: error: dereferencing pointer to incomplete type 'const struct task_struct'
return task->stack;
^~
In file included from arch/s390/include/asm/elf.h:135:0,
from include/linux/elf.h:5,
from include/linux/module.h:18,
from include/kunit/test.h:15,
from include/linux/sched.h:35,
from include/linux/kvm_host.h:12,
from arch/s390/kernel/asm-offsets.c:11:
arch/s390/include/asm/syscall.h: In function 'syscall_get_arguments':
>> arch/s390/include/asm/syscall.h:60:6: error: implicit declaration of function 'test_tsk_thread_flag'; did you mean 'test_ti_thread_flag'? [-Werror=implicit-function-declaration]
if (test_tsk_thread_flag(task, TIF_31BIT))
^~~~~~~~~~~~~~~~~~~~
test_ti_thread_flag
In file included from include/linux/kernel.h:11:0,
from include/linux/list.h:9,
from include/linux/preempt.h:11,
from include/linux/hardirq.h:5,
from include/linux/kvm_host.h:7,
from arch/s390/kernel/asm-offsets.c:11:
include/linux/sched/mm.h: In function 'current_gfp_context':
>> include/linux/sched/mm.h:183:9: error: 'PF_MEMALLOC_NOIO' undeclared (first use in this function)
(PF_MEMALLOC_NOIO | PF_MEMALLOC_NOFS | PF_MEMALLOC_NOCMA))) {
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
include/linux/sched/mm.h:183:9: note: each undeclared identifier is reported only once for each function it appears in
(PF_MEMALLOC_NOIO | PF_MEMALLOC_NOFS | PF_MEMALLOC_NOCMA))) {
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> include/linux/sched/mm.h:183:28: error: 'PF_MEMALLOC_NOFS' undeclared (first use in this function); did you mean 'PF_MEMALLOC_NOIO'?
(PF_MEMALLOC_NOIO | PF_MEMALLOC_NOFS | PF_MEMALLOC_NOCMA))) {
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
>> include/linux/sched/mm.h:183:47: error: 'PF_MEMALLOC_NOCMA' undeclared (first use in this function); did you mean 'PF_MEMALLOC_NOFS'?
(PF_MEMALLOC_NOIO | PF_MEMALLOC_NOFS | PF_MEMALLOC_NOCMA))) {
^
include/linux/compiler.h:78:42: note: in definition of macro 'unlikely'
# define unlikely(x) __builtin_expect(!!(x), 0)
^
In file included from arch/s390/include/asm/elf.h:144:0,
from include/linux/elf.h:5,
from include/linux/module.h:18,
from include/kunit/test.h:15,
from include/linux/sched.h:35,
from include/linux/kvm_host.h:12,
from arch/s390/kernel/asm-offsets.c:11:
include/linux/sched/mm.h: In function 'memalloc_noio_save':
include/linux/sched/mm.h:225:40: error: 'PF_MEMALLOC_NOIO' undeclared (first use in this function)
unsigned int flags = current->flags & PF_MEMALLOC_NOIO;
^~~~~~~~~~~~~~~~
include/linux/sched/mm.h: In function 'memalloc_noio_restore':
include/linux/sched/mm.h:240:38: error: 'PF_MEMALLOC_NOIO' undeclared (first use in this function)
current->flags = (current->flags & ~PF_MEMALLOC_NOIO) | flags;
^~~~~~~~~~~~~~~~
include/linux/sched/mm.h: In function 'memalloc_nofs_save':
>> include/linux/sched/mm.h:256:40: error: 'PF_MEMALLOC_NOFS' undeclared (first use in this function); did you mean 'NR_KMALLOC_TYPES'?
unsigned int flags = current->flags & PF_MEMALLOC_NOFS;
^~~~~~~~~~~~~~~~
NR_KMALLOC_TYPES
include/linux/sched/mm.h: In function 'memalloc_nofs_restore':
include/linux/sched/mm.h:271:38: error: 'PF_MEMALLOC_NOFS' undeclared (first use in this function); did you mean 'NR_KMALLOC_TYPES'?
current->flags = (current->flags & ~PF_MEMALLOC_NOFS) | flags;
^~~~~~~~~~~~~~~~
NR_KMALLOC_TYPES
include/linux/sched/mm.h: In function 'memalloc_noreclaim_save':
>> include/linux/sched/mm.h:276:40: error: 'PF_MEMALLOC' undeclared (first use in this function); did you mean '__GFP_MEMALLOC'?
unsigned int flags = current->flags & PF_MEMALLOC;
^~~~~~~~~~~
__GFP_MEMALLOC
include/linux/sched/mm.h: In function 'memalloc_noreclaim_restore':
include/linux/sched/mm.h:283:38: error: 'PF_MEMALLOC' undeclared (first use in this function); did you mean '__GFP_MEMALLOC'?
current->flags = (current->flags & ~PF_MEMALLOC) | flags;
^~~~~~~~~~~
__GFP_MEMALLOC
include/linux/sched/mm.h: In function 'memalloc_nocma_save':
>> include/linux/sched/mm.h:289:40: error: 'PF_MEMALLOC_NOCMA' undeclared (first use in this function); did you mean 'KMALLOC_NORMAL'?
unsigned int flags = current->flags & PF_MEMALLOC_NOCMA;
^~~~~~~~~~~~~~~~~
KMALLOC_NORMAL
include/linux/sched/mm.h: In function 'memalloc_nocma_restore':
include/linux/sched/mm.h:297:38: error: 'PF_MEMALLOC_NOCMA' undeclared (first use in this function); did you mean 'KMALLOC_NORMAL'?
current->flags = (current->flags & ~PF_MEMALLOC_NOCMA) | flags;
^~~~~~~~~~~~~~~~~
KMALLOC_NORMAL
In file included from include/linux/kvm_host.h:12:0,
from arch/s390/kernel/asm-offsets.c:11:
include/linux/sched.h: At top level:
>> include/linux/sched.h:1620:19: error: static declaration of 'task_nice' follows non-static declaration
static inline int task_nice(const struct task_struct *p)
^~~~~~~~~
In file included from include/linux/fs.h:39:0,
from include/linux/compat.h:17,
from arch/s390/include/asm/elf.h:132,
from include/linux/elf.h:5,
from include/linux/module.h:18,
from include/kunit/test.h:15,
from include/linux/sched.h:35,
from include/linux/kvm_host.h:12,
from arch/s390/kernel/asm-offsets.c:11:
include/linux/ioprio.h:56:10: note: previous implicit declaration of 'task_nice' was here
return (task_nice(task) + 20) / 5;
^~~~~~~~~
In file included from include/linux/kvm_host.h:12:0,
from arch/s390/kernel/asm-offsets.c:11:
>> include/linux/sched.h:1759:19: error: static declaration of 'test_tsk_thread_flag' follows non-static declaration
static inline int test_tsk_thread_flag(struct task_struct *tsk, int flag)
^~~~~~~~~~~~~~~~~~~~
In file included from arch/s390/include/asm/elf.h:135:0,
from include/linux/elf.h:5,
from include/linux/module.h:18,
from include/kunit/test.h:15,
from include/linux/sched.h:35,
from include/linux/kvm_host.h:12,
from arch/s390/kernel/asm-offsets.c:11:
arch/s390/include/asm/syscall.h:60:6: note: previous implicit declaration of 'test_tsk_thread_flag' was here
if (test_tsk_thread_flag(task, TIF_31BIT))
^~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:101: arch/s390/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1112: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:179: sub-make] Error 2
18 real 6 user 11 sys 99.99% cpu make prepare
vim +168 include/linux/uaccess.h
d597580d373774 Al Viro 2017-03-20 165
8bcbde5480f977 David Hildenbrand 2015-05-11 166 static __always_inline void pagefault_disabled_inc(void)
8bcbde5480f977 David Hildenbrand 2015-05-11 167 {
8bcbde5480f977 David Hildenbrand 2015-05-11 @168 current->pagefault_disabled++;
8bcbde5480f977 David Hildenbrand 2015-05-11 169 }
8bcbde5480f977 David Hildenbrand 2015-05-11 170
:::::: The code at line 168 was first introduced by commit
:::::: 8bcbde5480f9777f8b74d71493722c663e22c21b sched/preempt, mm/fault: Count pagefault_disable() levels in pagefault_disabled
:::::: TO: David Hildenbrand <dahi@linux.vnet.ibm.com>
:::::: CC: Ingo Molnar <mingo@kernel.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 23719 bytes --]
next prev parent reply other threads:[~2020-02-27 4:12 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-27 2:43 [RFC PATCH 1/2] Port KASAN Tests to KUnit Patricia Alfonso
2020-02-27 2:43 ` [RFC PATCH 2/2] KUnit: KASAN Integration Patricia Alfonso
2020-02-27 4:09 ` kbuild test robot
2020-02-27 4:12 ` kbuild test robot [this message]
2020-02-27 10:35 ` kbuild test robot
2020-02-27 14:04 ` Alan Maguire
2020-02-29 0:46 ` Patricia Alfonso
2020-03-03 16:40 ` Alan Maguire
2020-03-05 2:14 ` Patricia Alfonso
2020-03-05 7:46 ` Alan Maguire
2020-03-10 21:42 ` Brendan Higgins
2020-03-10 21:39 ` Brendan Higgins
2020-02-27 14:39 ` Dmitry Vyukov
2020-02-29 1:09 ` Patricia Alfonso
2020-03-01 6:26 ` Dmitry Vyukov
2020-02-27 14:43 ` Dmitry Vyukov
2020-02-29 1:23 ` Patricia Alfonso
2020-03-01 6:29 ` Dmitry Vyukov
2020-03-04 1:26 ` Patricia Alfonso
2020-03-04 6:23 ` Dmitry Vyukov
2020-03-05 0:07 ` Patricia Alfonso
2020-03-05 6:44 ` Dmitry Vyukov
2020-02-27 14:45 ` Dmitry Vyukov
2020-02-29 0:49 ` Patricia Alfonso
2020-03-04 6:35 ` Dmitry Vyukov
2020-02-27 13:56 ` [RFC PATCH 1/2] Port KASAN Tests to KUnit Andrey Konovalov
2020-02-27 15:16 ` Alan Maguire
2020-02-27 14:19 ` Dmitry Vyukov
2020-02-29 1:56 ` Patricia Alfonso
2020-03-01 6:39 ` Dmitry Vyukov
2020-03-02 17:52 ` Kees Cook
2020-03-02 22:36 ` Brendan Higgins
2020-03-02 23:02 ` Kees Cook
2020-03-06 23:58 ` Patricia Alfonso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202002271245.aboYII3e%lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.