[Intel-gfx] ✗ Fi.CI.BAT: failure for RFC: console: hack up console_lock more v3 (rev2)
Patchwork
patchwork at emeril.freedesktop.org
Thu May 9 15:14:23 UTC 2019
== Series Details ==
Series: RFC: console: hack up console_lock more v3 (rev2)
URL : https://patchwork.freedesktop.org/series/60467/
State : failure
== Summary ==
CALL scripts/checksyscalls.sh
CALL scripts/atomic/check-atomics.sh
DESCEND objtool
CHK include/generated/compile.h
CC kernel/locking/semaphore.o
kernel/locking/semaphore.c: In function ‘up’:
kernel/locking/semaphore.c:181:2: error: implicit declaration of function ‘DEFINE_WAKE_Q’; did you mean ‘DEFINE_WAIT’? [-Werror=implicit-function-declaration]
DEFINE_WAKE_Q(wake_q);
^~~~~~~~~~~~~
DEFINE_WAIT
kernel/locking/semaphore.c:181:16: error: ‘wake_q’ undeclared (first use in this function); did you mean ‘wake_up’?
DEFINE_WAKE_Q(wake_q);
^~~~~~
wake_up
kernel/locking/semaphore.c:181:16: note: each undeclared identifier is reported only once for each function it appears in
kernel/locking/semaphore.c:182:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
unsigned long flags;
^~~~~~~~
In file included from kernel/locking/semaphore.c:28:0:
./include/linux/kernel.h:979:51: error: dereferencing pointer to incomplete type ‘struct semaphore_waiter’
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^
./include/linux/compiler.h:324:9: note: in definition of macro ‘__compiletime_assert’
if (!(condition)) \
^~~~~~~~~
./include/linux/compiler.h:344:2: note: in expansion of macro ‘_compiletime_assert’
_compiletime_assert(condition, msg, __compiletime_assert_, __LINE__)
^~~~~~~~~~~~~~~~~~~
./include/linux/build_bug.h:39:37: note: in expansion of macro ‘compiletime_assert’
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:979:2: note: in expansion of macro ‘BUILD_BUG_ON_MSG’
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~~~~~~
./include/linux/kernel.h:979:20: note: in expansion of macro ‘__same_type’
BUILD_BUG_ON_MSG(!__same_type(*(ptr), ((type *)0)->member) && \
^~~~~~~~~~~
./include/linux/list.h:430:2: note: in expansion of macro ‘container_of’
container_of(ptr, type, member)
^~~~~~~~~~~~
./include/linux/list.h:441:2: note: in expansion of macro ‘list_entry’
list_entry((ptr)->next, type, member)
^~~~~~~~~~
kernel/locking/semaphore.c:190:11: note: in expansion of macro ‘list_first_entry’
waiter = list_first_entry(&sem->wait_list, struct semaphore_waiter, list);
^~~~~~~~~~~~~~~~
In file included from <command-line>:0:0:
././include/linux/compiler_types.h:127:35: error: invalid use of undefined type ‘struct semaphore_waiter’
#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
^
./include/linux/stddef.h:17:32: note: in expansion of macro ‘__compiler_offsetof’
#define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
^~~~~~~~~~~~~~~~~~~
./include/linux/kernel.h:982:21: note: in expansion of macro ‘offsetof’
((type *)(__mptr - offsetof(type, member))); })
^~~~~~~~
./include/linux/list.h:430:2: note: in expansion of macro ‘container_of’
container_of(ptr, type, member)
^~~~~~~~~~~~
./include/linux/list.h:441:2: note: in expansion of macro ‘list_entry’
list_entry((ptr)->next, type, member)
^~~~~~~~~~
kernel/locking/semaphore.c:190:11: note: in expansion of macro ‘list_first_entry’
waiter = list_first_entry(&sem->wait_list, struct semaphore_waiter, list);
^~~~~~~~~~~~~~~~
kernel/locking/semaphore.c:193:2: error: implicit declaration of function ‘wake_q_add’; did you mean ‘wake_up_all’? [-Werror=implicit-function-declaration]
wake_q_add(&wake_q, waiter->task);
^~~~~~~~~~
wake_up_all
kernel/locking/semaphore.c:197:2: error: implicit declaration of function ‘wake_up_q’; did you mean ‘wake_up_nr’? [-Werror=implicit-function-declaration]
wake_up_q(&wake_q);
^~~~~~~~~
wake_up_nr
cc1: some warnings being treated as errors
scripts/Makefile.build:275: recipe for target 'kernel/locking/semaphore.o' failed
make[2]: *** [kernel/locking/semaphore.o] Error 1
scripts/Makefile.build:486: recipe for target 'kernel/locking' failed
make[1]: *** [kernel/locking] Error 2
Makefile:1051: recipe for target 'kernel' failed
make: *** [kernel] Error 2
More information about the Intel-gfx
mailing list