All of lore.kernel.org
 help / color / mirror / Atom feed
* [jimc:dd-drm-next 18/19] drivers/gpu/drm/drm_print.c:60:2: error: unterminated conditional directive
@ 2021-10-16  6:59 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-10-16  6:59 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://github.com/jimc/linux.git dd-drm-next
head:   599fc12dacf513227ee5c9815a16a3aaa1300f27
commit: d2840196f63f48d2ef2bdf7fe96c1ee9f85ac293 [18/19] drm: use DEFINE_DYNAMIC_DEBUG_TRACE_CATEGORIES in drm
config: x86_64-randconfig-a015-20211016 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project a49f5386ce6b091da66ea7c3a1d9a588d53becf7)
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/d2840196f63f48d2ef2bdf7fe96c1ee9f85ac293
        git remote add jimc https://github.com/jimc/linux.git
        git fetch --no-tags jimc dd-drm-next
        git checkout d2840196f63f48d2ef2bdf7fe96c1ee9f85ac293
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/gpu/drm/

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:60:2: error: unterminated conditional directive
   #if !defined(CONFIG_DRM_USE_DYNAMIC_DEBUG)
    ^
   1 error generated.


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

2d4d3ed562aa8f Jim Cromie 2020-08-17  59  
2d4d3ed562aa8f Jim Cromie 2020-08-17 @60  #if !defined(CONFIG_DRM_USE_DYNAMIC_DEBUG)
2d4d3ed562aa8f Jim Cromie 2020-08-17  61  MODULE_PARM_DESC(debug, DRM_DEBUG_DESC);
2d4d3ed562aa8f Jim Cromie 2020-08-17  62  module_param_named(debug, __drm_debug, ulong, 0600);
2d4d3ed562aa8f Jim Cromie 2020-08-17  63  #else
2d4d3ed562aa8f Jim Cromie 2020-08-17  64  #include <linux/dynamic_debug.h>
2d4d3ed562aa8f Jim Cromie 2020-08-17  65  DEFINE_DYNAMIC_DEBUG_CATEGORIES(debug, __drm_debug,
2d4d3ed562aa8f Jim Cromie 2020-08-17  66  				DRM_DEBUG_DESC,
2d4d3ed562aa8f Jim Cromie 2020-08-17  67  				[0] = { DRM_DBG_CAT_CORE },
2d4d3ed562aa8f Jim Cromie 2020-08-17  68  				[1] = { DRM_DBG_CAT_DRIVER },
2d4d3ed562aa8f Jim Cromie 2020-08-17  69  				[2] = { DRM_DBG_CAT_KMS },
2d4d3ed562aa8f Jim Cromie 2020-08-17  70  				[3] = { DRM_DBG_CAT_PRIME },
2d4d3ed562aa8f Jim Cromie 2020-08-17  71  				[4] = { DRM_DBG_CAT_ATOMIC },
2d4d3ed562aa8f Jim Cromie 2020-08-17  72  				[5] = { DRM_DBG_CAT_VBL },
2d4d3ed562aa8f Jim Cromie 2020-08-17  73  				[6] = { DRM_DBG_CAT_STATE },
2d4d3ed562aa8f Jim Cromie 2020-08-17  74  				[7] = { DRM_DBG_CAT_LEASE },
2d4d3ed562aa8f Jim Cromie 2020-08-17  75  				[8] = { DRM_DBG_CAT_DP },
2d4d3ed562aa8f Jim Cromie 2020-08-17  76  				[9] = { DRM_DBG_CAT_DRMRES });
d2840196f63f48 Jim Cromie 2021-10-05  77  

:::::: The code at line 60 was first introduced by commit
:::::: 2d4d3ed562aa8feb1da40b1105369d4c16b544cc drm_print: add choice to use dynamic debug in drm-debug

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

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

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

only message in thread, other threads:[~2021-10-16  6:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-16  6:59 [jimc:dd-drm-next 18/19] drivers/gpu/drm/drm_print.c:60:2: error: unterminated conditional directive 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.