tree:
https://github.com/jimc/linux.git dd-diet-5
head: ab4776a18d0825347aee5428484b0b5a188b0c52
commit: ab4776a18d0825347aee5428484b0b5a188b0c52 [31/31] un-check-site
config: riscv-randconfig-r011-20210510 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
492173d42b32cb91d5d0d72d5ed84fcab80d059a)
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
# install riscv cross compiling tool for clang build
# apt-get install binutils-riscv64-linux-gnu
#
https://github.com/jimc/linux/commit/ab4776a18d0825347aee5428484b0b5a188b...
git remote add jimc
https://github.com/jimc/linux.git
git fetch --no-tags jimc dd-diet-5
git checkout ab4776a18d0825347aee5428484b0b5a188b0c52
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:185:23: note: expanded from macro
'is_dyndbg_header_pair'
&& (iter->format == sitep->modname) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:33:34: note: expanded from macro '__branch_check__'
______r = __builtin_expect(!!(x), expect); \
^
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:52: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:186:7: note: expanded from macro
'is_dyndbg_header_pair'
&& (sitep->modname == sitep->function) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:33:34: note: expanded from macro '__branch_check__'
______r = __builtin_expect(!!(x), expect); \
^
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:52: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:186:25: note: expanded from macro
'is_dyndbg_header_pair'
&& (sitep->modname == sitep->function) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:33:34: note: expanded from macro '__branch_check__'
______r = __builtin_expect(!!(x), expect); \
^
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:52: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:187:15: note: expanded from macro
'is_dyndbg_header_pair'
&& ((void *)sitep->filename == (void *)iter))
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:33:34: note: expanded from macro '__branch_check__'
______r = __builtin_expect(!!(x), expect); \
^
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:52: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:185:23: note: expanded from macro
'is_dyndbg_header_pair'
&& (iter->format == sitep->modname) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:68: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:35:19: note: expanded from macro '__branch_check__'
expect, is_constant); \
^~~~~~~~~~~
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:52: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:186:7: note: expanded from macro
'is_dyndbg_header_pair'
&& (sitep->modname == sitep->function) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:68: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:35:19: note: expanded from macro '__branch_check__'
expect, is_constant); \
^~~~~~~~~~~
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:52: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:186:25: note: expanded from macro
'is_dyndbg_header_pair'
&& (sitep->modname == sitep->function) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:68: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:35:19: note: expanded from macro '__branch_check__'
expect, is_constant); \
^~~~~~~~~~~
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:52: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:187:15: note: expanded from macro
'is_dyndbg_header_pair'
&& ((void *)sitep->filename == (void *)iter))
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:68: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:35:19: note: expanded from macro '__branch_check__'
expect, is_constant); \
^~~~~~~~~~~
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:52: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:185:23: note: expanded from macro
'is_dyndbg_header_pair'
&& (iter->format == sitep->modname) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:33:34: note: expanded from macro '__branch_check__'
______r = __builtin_expect(!!(x), expect); \
^
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:61: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:186:7: note: expanded from macro
'is_dyndbg_header_pair'
&& (sitep->modname == sitep->function) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:33:34: note: expanded from macro '__branch_check__'
______r = __builtin_expect(!!(x), expect); \
^
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:61: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:186:25: note: expanded from macro
'is_dyndbg_header_pair'
&& (sitep->modname == sitep->function) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:33:34: note: expanded from macro '__branch_check__'
______r = __builtin_expect(!!(x), expect); \
^
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:61: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:187:15: note: expanded from macro
'is_dyndbg_header_pair'
&& ((void *)sitep->filename == (void *)iter))
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:33:34: note: expanded from macro '__branch_check__'
______r = __builtin_expect(!!(x), expect); \
^
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:61: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:185:23: note: expanded from macro
'is_dyndbg_header_pair'
&& (iter->format == sitep->modname) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:68: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:35:19: note: expanded from macro '__branch_check__'
expect, is_constant); \
^~~~~~~~~~~
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:61: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:186:7: note: expanded from macro
'is_dyndbg_header_pair'
&& (sitep->modname == sitep->function) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:68: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:35:19: note: expanded from macro '__branch_check__'
expect, is_constant); \
^~~~~~~~~~~
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:61: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:186:25: note: expanded from macro
'is_dyndbg_header_pair'
&& (sitep->modname == sitep->function) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:68: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:35:19: note: expanded from macro '__branch_check__'
expect, is_constant); \
^~~~~~~~~~~
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:61: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:187:15: note: expanded from macro
'is_dyndbg_header_pair'
&& ((void *)sitep->filename == (void *)iter))
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:68: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
include/linux/compiler.h:35:19: note: expanded from macro '__branch_check__'
expect, is_constant); \
^~~~~~~~~~~
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:61: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:185:23: note: expanded from macro
'is_dyndbg_header_pair'
&& (iter->format == sitep->modname) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:86: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
include/linux/compiler.h:69:3: note: expanded from macro '__trace_if_value'
(cond) ? \
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:186:7: note: expanded from macro
'is_dyndbg_header_pair'
&& (sitep->modname == sitep->function) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:86: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
include/linux/compiler.h:69:3: note: expanded from macro '__trace_if_value'
(cond) ? \
^~~~
> lib/dynamic_debug.c:153:40: error: no member named 'site'
in 'struct _ddebug'
BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
~~ ^
include/linux/dynamic_debug.h:186:25: note: expanded from macro
'is_dyndbg_header_pair'
&& (sitep->modname == sitep->function) \
^~~~~
include/asm-generic/bug.h:63:45: note: expanded from macro 'BUG_ON'
#define BUG_ON(condition) do { if (unlikely(condition)) BUG(); } while (0)
^~~~~~~~~
include/linux/compiler.h:48:41: note: expanded from macro 'unlikely'
# define unlikely(x) (__branch_check__(x, 0, __builtin_constant_p(x)))
^
note: (skipping 1 expansions in backtrace; use -fmacro-backtrace-limit=0 to see all)
include/linux/compiler.h:56:47: note: expanded from macro 'if'
#define if(cond, ...) if ( __trace_if_var( !!(cond , ## __VA_ARGS__) ) )
^~~~
include/linux/compiler.h:58:86: note: expanded from macro '__trace_if_var'
#define __trace_if_var(cond) (__builtin_constant_p(cond) ? (cond) :
__trace_if_value(cond))
^~~~
include/linux/compiler.h:69:3: note: expanded from macro '__trace_if_value'
(cond) ? \
^~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
vim +153 lib/dynamic_debug.c
f657fd21e16e3a Joe Perches 2012-12-05 148
3c34e48b60fb96 Jim Cromie 2021-02-11 149 static struct _ddebug_site
*ddebug_site_get(struct _ddebug *dp)
3c34e48b60fb96 Jim Cromie 2021-02-11 150 {
d17d628c203db8 Jim Cromie 2021-03-27 151 struct _ddebug *dh = dp - (dp->_index);
d17d628c203db8 Jim Cromie 2021-03-27 152
dccb61be8ecb56 Jim Cromie 2021-04-18 @153 BUG_ON(!is_dyndbg_header_pair(dh,
dh->site));
47a8e21a3b1b34 Jim Cromie 2021-04-15 154 #ifdef SITE_CHK
d17d628c203db8 Jim Cromie 2021-03-27 155 if (dp >= __start___dyndbg && dp
< __stop___dyndbg) {
d17d628c203db8 Jim Cromie 2021-03-27 156
44f670485330a5 Jim Cromie 2021-04-01 157 v5pr_info("get: %s is builtin: %d
%s:%s:%d\n",
44f670485330a5 Jim Cromie 2021-04-01 158 dh->site[dp->_index].modname,
dp->_index,
d17d628c203db8 Jim Cromie 2021-03-27 159 dh->site[dp->_index].filename,
d17d628c203db8 Jim Cromie 2021-03-27 160 dh->site[dp->_index].function,
dp->lineno);
d17d628c203db8 Jim Cromie 2021-03-27 161
dccb61be8ecb56 Jim Cromie 2021-04-18 162 BUG_ON(dp !=
&__start___dyndbg[dp->_index]);
d17d628c203db8 Jim Cromie 2021-03-27 163
dccb61be8ecb56 Jim Cromie 2021-04-18 164 BUG_ON(!(dp->_index == (dp - dh)
&&
d17d628c203db8 Jim Cromie 2021-03-27 165 dp->_index == (dp - __start___dyndbg)
&&
d17d628c203db8 Jim Cromie 2021-03-27 166 dp->_index ==
(&__start___dyndbg_sites[dp->_index]
d17d628c203db8 Jim Cromie 2021-03-27 167 - &__start___dyndbg_sites[0])));
44f670485330a5 Jim Cromie 2021-04-01 168 if (dp->site)
dccb61be8ecb56 Jim Cromie 2021-04-18 169
BUG_ON(&__start___dyndbg_sites[dp->_index] != dp->site);
d17d628c203db8 Jim Cromie 2021-03-27 170 } else {
d17d628c203db8 Jim Cromie 2021-03-27 171 v4pr_info("get: %s is loaded: %d
%s:%s:%d\n",
44f670485330a5 Jim Cromie 2021-04-01 172 dh->site[dp->_index].modname,
dp->_index,
d17d628c203db8 Jim Cromie 2021-03-27 173 dh->site[dp->_index].filename,
d17d628c203db8 Jim Cromie 2021-03-27 174 dh->site[dp->_index].function,
dp->lineno);
d17d628c203db8 Jim Cromie 2021-03-27 175 }
44f670485330a5 Jim Cromie 2021-04-01 176 if (dp->site)
dccb61be8ecb56 Jim Cromie 2021-04-18 177 BUG_ON(&dh->site[dp->_index] !=
dp->site);
d17d628c203db8 Jim Cromie 2021-03-27 178
d17d628c203db8 Jim Cromie 2021-03-27 179 return dp->site;
47a8e21a3b1b34 Jim Cromie 2021-04-15 180 #else
47a8e21a3b1b34 Jim Cromie 2021-04-15 181 return &dh->site[dp->_index];
47a8e21a3b1b34 Jim Cromie 2021-04-15 182 #endif
3c34e48b60fb96 Jim Cromie 2021-02-11 183 }
3c34e48b60fb96 Jim Cromie 2021-02-11 184 static inline void ddebug_site_put(struct
_ddebug *dp)
3c34e48b60fb96 Jim Cromie 2021-02-11 185 {
3c34e48b60fb96 Jim Cromie 2021-02-11 186 }
3c34e48b60fb96 Jim Cromie 2021-02-11 187
:::::: The code at line 153 was first introduced by commit
:::::: dccb61be8ecb564cc520b527f4e0ee51909f8038 dyndbg: swap WARN_ON for BUG_ON see what
0-day says
:::::: TO: Jim Cromie <jim.cromie(a)gmail.com>
:::::: CC: Jim Cromie <jim.cromie(a)gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org