All of lore.kernel.org
 help / color / mirror / Atom feed
* [jimc:dd-drm-next 6/8] drivers/gpu/drm/drm_print.c:64:29: error: expected identifier
@ 2021-08-04 23:13 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-08-04 23:13 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/jimc/linux.git dd-drm-next
head:   a2a11ed64801a9198e5009b5c9339f4221105a36
commit: 6c06e72d40a843674784c56443286813bdd7bd83 [6/8] drm/print: add choice to use dynamic debug in drm-debug
config: x86_64-randconfig-a003-20210804 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project 4f71f59bf3d9914188a11d0c41bedbb339d36ff5)
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/6c06e72d40a843674784c56443286813bdd7bd83
        git remote add jimc https://github.com/jimc/linux.git
        git fetch --no-tags jimc dd-drm-next
        git checkout 6c06e72d40a843674784c56443286813bdd7bd83
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 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/drm_print.c:64:29: error: expected identifier
   DEFINE_DYNDBG_BITMAP(debug, &__drm_debug, DRM_DEBUG_DESC,
                               ^
   drivers/gpu/drm/drm_print.c:64:1: warning: declaration specifier missing, defaulting to 'int'
   DEFINE_DYNDBG_BITMAP(debug, &__drm_debug, DRM_DEBUG_DESC,
   ^
   int
>> drivers/gpu/drm/drm_print.c:64:21: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
   DEFINE_DYNDBG_BITMAP(debug, &__drm_debug, DRM_DEBUG_DESC,
                       ^
   1 warning and 2 errors generated.


vim +64 drivers/gpu/drm/drm_print.c

    60	
    61	#define cmd_help_(key)	\
    62		{ .prefix = key, .help = "'" key "' - help for " key }
    63	
  > 64	DEFINE_DYNDBG_BITMAP(debug, &__drm_debug, DRM_DEBUG_DESC,
    65			     cmd_help_(DRM_DBG_CLASS_CORE),
    66			     cmd_help_(DRM_DBG_CLASS_DRIVER),
    67			     cmd_help_(DRM_DBG_CLASS_KMS),
    68			     cmd_help_(DRM_DBG_CLASS_PRIME),
    69			     cmd_help_(DRM_DBG_CLASS_ATOMIC),
    70			     cmd_help_(DRM_DBG_CLASS_VBL),
    71			     cmd_help_(DRM_DBG_CLASS_STATE),
    72			     cmd_help_(DRM_DBG_CLASS_LEASE),
    73			     cmd_help_(DRM_DBG_CLASS_DP),
    74			     cmd_help_(DRM_DBG_CLASS_DRMRES));
    75	

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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 37156 bytes --]

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

only message in thread, other threads:[~2021-08-04 23:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 23:13 [jimc:dd-drm-next 6/8] drivers/gpu/drm/drm_print.c:64:29: error: expected identifier 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.