tree:
https://github.com/jimc/linux.git dd-drm-redux
head: ed3eac8ceeea22a0d69d027aec059cbbb654b517
commit: 1241f739b6212e0a12f9c3d65f54468cf33e60c4 [7/8] drm_print: add choice to use
dynamic debug in drm-debug
config: i386-randconfig-r024-20211207
(
https://download.01.org/0day-ci/archive/20211209/202112090316.3qh67mvz-lk...)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
097a1cb1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a)
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://github.com/jimc/linux/commit/1241f739b6212e0a12f9c3d65f54468cf33e...
git remote add jimc
https://github.com/jimc/linux.git
git fetch --no-tags jimc dd-drm-redux
git checkout 1241f739b6212e0a12f9c3d65f54468cf33e60c4
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir
ARCH=i386 SHELL=/bin/bash
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 >>):
> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:80:1:
error: expected identifier or '('
DEFINE_DYNAMIC_DEBUG_BITGRPS(debug_dc,
__debug_dc,
^
include/linux/dynamic_debug.h:279:2: note: expanded from macro
'DEFINE_DYNAMIC_DEBUG_BITGRPS'
BUILD_BUG_ON_MSG(1, "you need -DDYNAMIC_DEBUG_MODULE in compile")
^
include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG'
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^
include/linux/compiler_types.h:335:2: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^
include/linux/compiler_types.h:323:2: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^
include/linux/compiler_types.h:307:2: note: expanded from macro
'__compiletime_assert'
do { \
^
> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:80:1:
error: expected identifier or '('
include/linux/dynamic_debug.h:279:2:
note: expanded from macro 'DEFINE_DYNAMIC_DEBUG_BITGRPS'
BUILD_BUG_ON_MSG(1, "you need -DDYNAMIC_DEBUG_MODULE in compile")
^
include/linux/build_bug.h:39:37: note: expanded from macro 'BUILD_BUG_ON_MSG'
#define BUILD_BUG_ON_MSG(cond, msg) compiletime_assert(!(cond), msg)
^
include/linux/compiler_types.h:335:2: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^
include/linux/compiler_types.h:323:2: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^
include/linux/compiler_types.h:317:4: note: expanded from macro
'__compiletime_assert'
} while (0)
^
2 errors generated.
vim +80 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c
e8bf52a6b22b68 Jim Cromie 2021-07-30 79
e8bf52a6b22b68 Jim Cromie 2021-07-30 @80 DEFINE_DYNAMIC_DEBUG_BITGRPS(debug_dc,
__debug_dc,
e8bf52a6b22b68 Jim Cromie 2021-07-30 81 DC_DYNDBG_BITMAP_DESC(debug_dc),
e8bf52a6b22b68 Jim Cromie 2021-07-30 82 amdgpu_bitmap);
e8bf52a6b22b68 Jim Cromie 2021-07-30 83
:::::: The code at line 80 was first introduced by commit
:::::: e8bf52a6b22b6892586ae1d87c398ede03d323ee amdgpu: use dyndbg.BITGRPS to control
existing pr_debugs
:::::: 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