Skip to contentSkip to conversation

include/drm/drm_drv.h:587:13: error: unused function 'drm_debugfs_dev_init'

PATCH kernel test robot 1 participant 1 message Sep 1, 2023

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   git://anongit.freedesktop.org/drm/drm-misc drm-misc-next
head:   8e455145d8f163aefa6b9cc29478e0a9f82276e6
commit: 0b30d57acafcaa5374756d314ee54f80d0bcc860 [1/3] drm/debugfs: rework debugfs directory creation v5
config: arm-randconfig-r021-20230901 (https://download.01.org/0day-ci/archive/20230901/[email protected]/config)
compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project.git 4a5ac14ee968ff0ad5d2cc1ffa0299048db4c88a)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230901/[email protected]/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 <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

In file included from drivers/gpu/drm/tilcdc/tilcdc_drv.c:18:

>> include/drm/drm_drv.h:587:13: error: unused function 'drm_debugfs_dev_init' [-Werror,-Wunused-function]

587 | static void drm_debugfs_dev_init(struct drm_device *dev, struct dentry *root)
| ^
1 error generated.

vim +/drm_debugfs_dev_init +587 include/drm/drm_drv.h

583
584 #if defined(CONFIG_DEBUG_FS)
585 void drm_debugfs_dev_init(struct drm_device *dev, struct dentry *root);
586 #else

 > 587	static void drm_debugfs_dev_init(struct drm_device *dev, struct dentry *root)

588 {
589 }
590 #endif
591

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