tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
locking/jump_label
head: a0fba2569e65e36204b3a8824c3dc244b4312f84
commit: c4ab9434341af3ae09b898c14d2ac53e9a5124e7 [10/24] x86/static_call: Add inline
static call implementation for x86-64
config: x86_64-rhel (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout c4ab9434341af3ae09b898c14d2ac53e9a5124e7
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from elf.h:12:0,
from check.h:10,
from check.c:10:
check.c: In function 'create_static_call_sections':
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:58:24: note: in definition of macro 'hash_add'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro
'__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro
'__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
tools/include/linux/kernel.h:39:45: error: bit-field '<anonymous>' width
not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro
'__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro
'__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
tools/include/linux/kernel.h:39:45: error: bit-field '<anonymous>' width
not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro
'__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro
'__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
tools/include/linux/kernel.h:39:45: error: bit-field '<anonymous>' width
not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro
'__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro
'__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
tools/include/linux/kernel.h:39:45: error: bit-field '<anonymous>' width
not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
> check.c:459:22: error: 'struct section' has no member
named 'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro
'__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
check.c:459:22: error: 'struct section' has no member named
'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/compiler-gcc.h:24:46: note: in expansion of macro
'__same_type'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
tools/include/linux/kernel.h:39:45: error: bit-field '<anonymous>' width
not an integer constant
#define BUILD_BUG_ON_ZERO(e) (sizeof(struct { int:-!!(e); }))
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/compiler-gcc.h:24:28: note: in expansion of macro
'BUILD_BUG_ON_ZERO'
#define __must_be_array(a) BUILD_BUG_ON_ZERO(__same_type((a), &(a)[0]))
^~~~~~~~~~~~~~~~~
tools/include/linux/kernel.h:107:59: note: in expansion of macro
'__must_be_array'
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]) + __must_be_array(arr))
^~~~~~~~~~~~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~~~~~
tools/include/linux/hashtable.h:58:48: note: in expansion of macro 'HASH_BITS'
hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))])
^~~~~~~~~
check.c:459:3: note: in expansion of macro 'hash_add'
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^~~~~~~~
check.c:459:22: error: 'struct section' has no member named
'rela_hash'; did you mean 'rela_list'?
hash_add(rela_sec->rela_hash, &rela->hash, rela->offset);
^
tools/include/linux/hashtable.h:29:35: note: in definition of macro 'hash_min'
(sizeof(val) <= 4 ? hash_32(val, bits) : hash_long(val, bits))
^~~~
tools/include/linux/hashtable.h:25:25: note: in expansion of macro 'ilog2'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
^~~~~
tools/include/linux/hashtable.h:24:26: note: in expansion of macro
'ARRAY_SIZE'
#define HASH_SIZE(name) (ARRAY_SIZE(name))
^~~~~~~~~~
tools/include/linux/hashtable.h:25:31: note: in expansion of macro 'HASH_SIZE'
#define HASH_BITS(name) ilog2(HASH_SIZE(name))
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org