Re: [PATCH v7 3/7] drm/log: Introduce a new boot logger to draw the kmsg on the screen

From: kernel test robot
Date: Fri Nov 08 2024 - 07:28:15 EST


Hi Jocelyn,

kernel test robot noticed the following build errors:

[auto build test ERROR on baf4afc5831438b35de4b0e951b9cd58435a6d99]

url: https://github.com/intel-lab-lkp/linux/commits/Jocelyn-Falempe/drm-panic-Move-drawing-functions-to-drm_draw/20241108-162222
base: baf4afc5831438b35de4b0e951b9cd58435a6d99
patch link: https://lore.kernel.org/r/20241108082025.1004653-4-jfalempe%40redhat.com
patch subject: [PATCH v7 3/7] drm/log: Introduce a new boot logger to draw the kmsg on the screen
config: x86_64-buildonly-randconfig-002-20241108 (https://download.01.org/0day-ci/archive/20241108/202411082006.DB7Dlk06-lkp@xxxxxxxxx/config)
compiler: clang version 19.1.3 (https://github.com/llvm/llvm-project ab51eccf88f5321e7c60591c5546b254b6afab99)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241108/202411082006.DB7Dlk06-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202411082006.DB7Dlk06-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/drm_client_setup.c:11:38: error: use of undeclared identifier 'CONFIG_DRM_CLIENT_DEFAULT'
11 | static char drm_client_default[16] = CONFIG_DRM_CLIENT_DEFAULT;
| ^
>> drivers/gpu/drm/drm_client_setup.c:15:4: error: expected ';' after top level declarator
15 | CONFIG_DRM_CLIENT_DEFAULT "]");
| ^
drivers/gpu/drm/drm_client_setup.c:33:6: error: redefinition of 'drm_client_setup'
33 | void drm_client_setup(struct drm_device *dev, const struct drm_format_info *format)
| ^
include/drm/drm_client_setup.h:16:20: note: previous definition is here
16 | static inline void drm_client_setup(struct drm_device *dev,
| ^
drivers/gpu/drm/drm_client_setup.c:55:6: error: redefinition of 'drm_client_setup_with_fourcc'
55 | void drm_client_setup_with_fourcc(struct drm_device *dev, u32 fourcc)
| ^
include/drm/drm_client_setup.h:19:20: note: previous definition is here
19 | static inline void drm_client_setup_with_fourcc(struct drm_device *dev, u32 fourcc)
| ^
drivers/gpu/drm/drm_client_setup.c:72:6: error: redefinition of 'drm_client_setup_with_color_mode'
72 | void drm_client_setup_with_color_mode(struct drm_device *dev, unsigned int color_mode)
| ^
include/drm/drm_client_setup.h:21:20: note: previous definition is here
21 | static inline void drm_client_setup_with_color_mode(struct drm_device *dev,
| ^
5 errors generated.


vim +/CONFIG_DRM_CLIENT_DEFAULT +11 drivers/gpu/drm/drm_client_setup.c

10
> 11 static char drm_client_default[16] = CONFIG_DRM_CLIENT_DEFAULT;
12 module_param_string(client, drm_client_default, sizeof(drm_client_default), 0444);
13 MODULE_PARM_DESC(client,
14 "Choose which drm client to start, default is"
> 15 CONFIG_DRM_CLIENT_DEFAULT "]");
16

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki