tree:
https://github.com/jimc/linux.git dd-drm-4d
head: 6ffb90a167c272a6a58f37bb5386e0cdcb7ba782
commit: 588c1db26379d2495dc3ed0127e9841ca9620af8 [7/9] drm/print: add choice to use
dynamic debug in drm-debug
config: x86_64-randconfig-a016-20210810 (attached as .config)
compiler: clang version 14.0.0 (
https://github.com/llvm/llvm-project
d39ebdae674c8efc84ebe8dc32716ec353220530)
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/588c1db26379d2495dc3ed0127e9841ca962...
git remote add jimc
https://github.com/jimc/linux.git
git fetch --no-tags jimc dd-drm-4d
git checkout 588c1db26379d2495dc3ed0127e9841ca9620af8
# 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 drivers/gpu/drm/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
> drivers/gpu/drm/drm_print.c:61:2: error: expected identifier
DRM_DEBUG_DESC,
^
drivers/gpu/drm/drm_print.c:47:24: note: expanded from macro 'DRM_DEBUG_DESC'
#define DRM_DEBUG_DESC \
^
drivers/gpu/drm/drm_print.c:60:1: warning: declaration specifier missing, defaulting to
'int'
DEFINE_DYNAMIC_DEBUG_CATEGORIES(debug, __drm_debug,
^
int
> drivers/gpu/drm/drm_print.c:60:32: error: this function
declaration is not a prototype [-Werror,-Wstrict-prototypes]
DEFINE_DYNAMIC_DEBUG_CATEGORIES(debug, __drm_debug,
^
1 warning and 2 errors generated.
vim +61 drivers/gpu/drm/drm_print.c
59
60 DEFINE_DYNAMIC_DEBUG_CATEGORIES(debug, __drm_debug,
61 DRM_DEBUG_DESC,
62 _DD_cat_(DRM_DBG_CAT_CORE),
63 _DD_cat_(DRM_DBG_CAT_DRIVER),
64 _DD_cat_(DRM_DBG_CAT_KMS),
65 _DD_cat_(DRM_DBG_CAT_PRIME),
66 _DD_cat_(DRM_DBG_CAT_ATOMIC),
67 _DD_cat_(DRM_DBG_CAT_VBL),
68 _DD_cat_(DRM_DBG_CAT_STATE),
69 _DD_cat_(DRM_DBG_CAT_LEASE),
70 _DD_cat_(DRM_DBG_CAT_DP),
71 _DD_cat_(DRM_DBG_CAT_DRMRES));
72
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org