[jimc:jump-batch-core-1 6/50] include/drm/drm_print.h:566:9: error: implicit declaration of function '_dynamic_func_call_cls'
kernel test robot <[email protected]>
| Newsgroups | dev.linux.lists.oe-kbuild-all |
|---|---|
| Message-ID | <[email protected]> |
tree: https://github.com/jimc/linux.git jump-batch-core-1 head: 19767e24687af03cf51f7b108eda8f03b07bf876 commit: a69b6bd4c063068d4e532164aa4c7fe23a36b708 [6/50] drm: Mark CONFIG_DRM_USE_DYNAMIC_DEBUG as unBROKEN config: arm-randconfig-002-20260807 (https://download.01.org/0day-ci/archive/20260807/[email protected]/config) compiler: arm-linux-gnueabi-gcc (GCC) 12.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260807/[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]/ Note: the jimc/jump-batch-core-1 HEAD 19767e24687af03cf51f7b108eda8f03b07bf876 builds fine. It only hurts bisectability. All errors (new ones prefixed by >>): In file included from drivers/accel/ethosu/ethosu_job.c:15: drivers/accel/ethosu/ethosu_job.c: In function 'ethosu_ioctl_submit': >> include/drm/drm_print.h:566:9: error: implicit declaration of function '_dynamic_func_call_cls' [-Werror=implicit-function-declaration] 566 | _dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \ | ^~~~~~~~~~~~~~~~~~~~~~ include/drm/drm_print.h:651:9: note: in expansion of macro 'drm_dev_dbg' 651 | drm_dev_dbg(__drm_to_dev(drm), DRM_UT_DRIVER, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~ include/drm/drm_print.h:669:33: note: in expansion of macro 'drm_dbg_driver' 669 | #define drm_dbg(drm, fmt, ...) drm_dbg_driver(drm, fmt, ##__VA_ARGS__) | ^~~~~~~~~~~~~~ drivers/accel/ethosu/ethosu_job.c:495:17: note: in expansion of macro 'drm_dbg' 495 | drm_dbg(dev, "Reserved field in drm_ethosu_submit struct should be 0.\n"); | ^~~~~~~ cc1: some warnings being treated as errors vim +/_dynamic_func_call_cls +566 include/drm/drm_print.h 02c9656b2f0d69 Haneen Mohammed 2017-10-17 560 84ec67288c10fb Jim Cromie 2022-09-11 561 #if !defined(CONFIG_DRM_USE_DYNAMIC_DEBUG) e820f52577b14c Jim Cromie 2022-09-11 562 #define drm_dev_dbg(dev, cat, fmt, ...) \ 16deeb8e18cafd Jim Cromie 2022-09-11 563 __drm_dev_dbg(NULL, dev, cat, fmt, ##__VA_ARGS__) 84ec67288c10fb Jim Cromie 2022-09-11 564 #else 84ec67288c10fb Jim Cromie 2022-09-11 565 #define drm_dev_dbg(dev, cat, fmt, ...) \ 16deeb8e18cafd Jim Cromie 2022-09-11 @566 _dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \ 84ec67288c10fb Jim Cromie 2022-09-11 567 dev, cat, fmt, ##__VA_ARGS__) 84ec67288c10fb Jim Cromie 2022-09-11 568 #endif e820f52577b14c Jim Cromie 2022-09-11 569 :::::: The code at line 566 was first introduced by commit :::::: 16deeb8e18cafd30e70d8dc2b12a753b28298d8a drm_print: add _ddebug descriptor to drm_*dbg prototypes :::::: TO: Jim Cromie <[email protected]> :::::: CC: Greg Kroah-Hartman <[email protected]> -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki