include/drm/drm_drv.h:587:13: warning: 'drm_debugfs_dev_init' defined but not used
kernel test robot
build bottree: git://anongit.freedesktop.org/drm/drm-misc drm-misc-next head: 8e455145d8f163aefa6b9cc29478e0a9f82276e6 commit: 0b30d57acafcaa5374756d314ee54f80d0bcc860 [1/3] drm/debugfs: rework debugfs directory creation v5 config: parisc-randconfig-r033-20230901 (https://download.01.org/0day-ci/archive/20230901/[email protected]/config) compiler: hppa-linux-gcc (GCC) 13.2.0 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 warnings (new ones prefixed by >>):
In file included from drivers/gpu/drm/solomon/ssd130x.h:18,
from drivers/gpu/drm/solomon/ssd130x-i2c.c:14: >> include/drm/drm_drv.h:587:13: warning: 'drm_debugfs_dev_init' defined but not used [-Wunused-function]
587 | static void drm_debugfs_dev_init(struct drm_device *dev, struct dentry *root)
| ^~~~~~~~~~~~~~~~~~~~
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