All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
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	[thread overview]
Message-ID: <202112090316.3qh67mvz-lkp@intel.com> (raw)

[-- 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

                 reply	other threads:[~2021-12-08 19:58 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202112090316.3qh67mvz-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.