[drm-misc:for-linux-next 1/3] drivers/accel/qaic/qaic_debugfs.h:16:5: warning: no previous prototype for 'qaic_bootlog_register'
kernel test robot
lkp at intel.com
Sat Apr 6 21:27:41 UTC 2024
tree: git://anongit.freedesktop.org/drm/drm-misc for-linux-next
head: e495e523b888a6155f82c767d34c8d712a41ee54
commit: 5f8df5c6def641c164ed1b673d47a41fdd0013f8 [1/3] accel/qaic: Add bootlog debugfs
config: csky-randconfig-r113-20240407 (https://download.01.org/0day-ci/archive/20240407/202404070542.VUa3Q4PZ-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20240407/202404070542.VUa3Q4PZ-lkp@intel.com/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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202404070542.VUa3Q4PZ-lkp@intel.com/
All warnings (new ones prefixed by >>):
In file included from drivers/accel/qaic/qaic_drv.c:31:
>> drivers/accel/qaic/qaic_debugfs.h:16:5: warning: no previous prototype for 'qaic_bootlog_register' [-Wmissing-prototypes]
16 | int qaic_bootlog_register(void) { return 0; }
| ^~~~~~~~~~~~~~~~~~~~~
>> drivers/accel/qaic/qaic_debugfs.h:17:6: warning: no previous prototype for 'qaic_bootlog_unregister' [-Wmissing-prototypes]
17 | void qaic_bootlog_unregister(void) {}
| ^~~~~~~~~~~~~~~~~~~~~~~
>> drivers/accel/qaic/qaic_debugfs.h:18:6: warning: no previous prototype for 'qaic_debugfs_init' [-Wmissing-prototypes]
18 | void qaic_debugfs_init(struct qaic_drm_device *qddev) {}
| ^~~~~~~~~~~~~~~~~
vim +/qaic_bootlog_register +16 drivers/accel/qaic/qaic_debugfs.h
10
11 #ifdef CONFIG_DEBUG_FS
12 int qaic_bootlog_register(void);
13 void qaic_bootlog_unregister(void);
14 void qaic_debugfs_init(struct qaic_drm_device *qddev);
15 #else
> 16 int qaic_bootlog_register(void) { return 0; }
> 17 void qaic_bootlog_unregister(void) {}
> 18 void qaic_debugfs_init(struct qaic_drm_device *qddev) {}
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the dri-devel
mailing list