All of lore.kernel.org
 help / color / mirror / Atom feed
* [jimc:dd-drm-redux 7/8] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:80:1: error: expected identifier or '('
@ 2021-12-08 19:58 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-12-08 19:58 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 4117 bytes --]

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-lkp(a)intel.com/config)
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/1241f739b6212e0a12f9c3d65f54468cf33e60c4
        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@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@gmail.com>
:::::: CC: Jim Cromie <jim.cromie@gmail.com>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-12-08 19:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-08 19:58 [jimc:dd-drm-redux 7/8] drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_debug.c:80:1: error: expected identifier or '(' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.