From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============1473488438883181106==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [jimc:dd-drm-redux 7/8] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:80:1: error: expected identifier or '(' Date: Thu, 09 Dec 2021 03:58:45 +0800 Message-ID: <202112090316.3qh67mvz-lkp@intel.com> List-Id: --===============1473488438883181106== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://github.com/jimc/linux.git dd-drm-redux head: ed3eac8ceeea22a0d69d027aec059cbbb654b517 commit: 1241f739b6212e0a12f9c3d65f54468cf33e60c4 [7/8] drm_print: add choic= e to use dynamic debug in drm-debug config: i386-randconfig-r024-20211207 (https://download.01.org/0day-ci/arch= ive/20211209/202112090316.3qh67mvz-lkp(a)intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 097a1c= b1d5ebb3a0ec4bcaed8ba3ff6a8e33c00a) reproduce (this is a W=3D1 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/1241f739b6212e0a12f9c3d65f54= 468cf33e60c4 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=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Di386 SHELL=3D/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:80:1: error: ex= pected identifier or '(' DEFINE_DYNAMIC_DEBUG_BITGRPS(debug_dc, __debug_dc, ^ include/linux/dynamic_debug.h:279:2: note: expanded from macro 'DEFINE_D= YNAMIC_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 'compile= time_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COU= NTER__) ^ include/linux/compiler_types.h:323:2: note: expanded from macro '_compil= etime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ include/linux/compiler_types.h:307:2: note: expanded from macro '__compi= letime_assert' do { \ ^ >> drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:80:1: error: ex= pected identifier or '(' include/linux/dynamic_debug.h:279:2: note: expanded from macro 'DEFINE_D= YNAMIC_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 'compile= time_assert' _compiletime_assert(condition, msg, __compiletime_assert_, __COU= NTER__) ^ include/linux/compiler_types.h:323:2: note: expanded from macro '_compil= etime_assert' __compiletime_assert(condition, msg, prefix, suffix) ^ include/linux/compiler_types.h:317:4: note: expanded from macro '__compi= letime_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(debu= g_dc, __debug_dc, e8bf52a6b22b68 Jim Cromie 2021-07-30 81 DC_DYNDBG_BITMAP_DESC(deb= ug_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 :::::: CC: Jim Cromie --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============1473488438883181106==--