* [jimc:dd-drm-fix 57/60] include/drm/drm_print.h:580:9: error: implicit declaration of function '_dynamic_func_call_cls'
@ 2026-02-03 22:44 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-02-03 22:44 UTC (permalink / raw)
To: Jim Cromie, Łukasz Bartosik; +Cc: oe-kbuild-all
tree: https://github.com/jimc/linux.git dd-drm-fix
head: 38ba873402d9f1555e9286434e6f6527ae186eee
commit: 72bacda9f889ff05c7c5cff29c02b7bb393c9f3e [57/60] drm: restore CONFIG_DRM_USE_DYNAMIC_DEBUG un-BROKEN
config: csky-randconfig-r134-20260203 (https://download.01.org/0day-ci/archive/20260204/202602040620.v2vASkep-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260204/202602040620.v2vASkep-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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602040620.v2vASkep-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/accel/rocket/rocket_gem.c:5:
drivers/accel/rocket/rocket_gem.c: In function 'rocket_ioctl_prep_bo':
>> include/drm/drm_print.h:580:9: error: implicit declaration of function '_dynamic_func_call_cls' [-Werror=implicit-function-declaration]
580 | _dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~~~~~
include/drm/drm_print.h:665:9: note: in expansion of macro 'drm_dev_dbg'
665 | drm_dev_dbg(__drm_to_dev(drm), DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
include/drm/drm_print.h:683:33: note: in expansion of macro 'drm_dbg_driver'
683 | #define drm_dbg(drm, fmt, ...) drm_dbg_driver(drm, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~
drivers/accel/rocket/rocket_gem.c:137:17: note: in expansion of macro 'drm_dbg'
137 | drm_dbg(dev, "Reserved field in drm_rocket_prep_bo struct should be 0.\n");
| ^~~~~~~
cc1: some warnings being treated as errors
--
In file included from drivers/accel/rocket/rocket_job.c:6:
drivers/accel/rocket/rocket_job.c: In function 'rocket_copy_tasks':
>> include/drm/drm_print.h:580:9: error: implicit declaration of function '_dynamic_func_call_cls' [-Werror=implicit-function-declaration]
580 | _dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
| ^~~~~~~~~~~~~~~~~~~~~~
include/drm/drm_print.h:665:9: note: in expansion of macro 'drm_dev_dbg'
665 | drm_dev_dbg(__drm_to_dev(drm), DRM_UT_DRIVER, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~
include/drm/drm_print.h:683:33: note: in expansion of macro 'drm_dbg_driver'
683 | #define drm_dbg(drm, fmt, ...) drm_dbg_driver(drm, fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~
drivers/accel/rocket/rocket_job.c:76:17: note: in expansion of macro 'drm_dbg'
76 | drm_dbg(dev, "Failed to allocate task array\n");
| ^~~~~~~
cc1: some warnings being treated as errors
vim +/_dynamic_func_call_cls +580 include/drm/drm_print.h
02c9656b2f0d69 Haneen Mohammed 2017-10-17 574
84ec67288c10fb Jim Cromie 2022-09-11 575 #if !defined(CONFIG_DRM_USE_DYNAMIC_DEBUG)
e820f52577b14c Jim Cromie 2022-09-11 576 #define drm_dev_dbg(dev, cat, fmt, ...) \
16deeb8e18cafd Jim Cromie 2022-09-11 577 __drm_dev_dbg(NULL, dev, cat, fmt, ##__VA_ARGS__)
84ec67288c10fb Jim Cromie 2022-09-11 578 #else
84ec67288c10fb Jim Cromie 2022-09-11 579 #define drm_dev_dbg(dev, cat, fmt, ...) \
16deeb8e18cafd Jim Cromie 2022-09-11 @580 _dynamic_func_call_cls(cat, fmt, __drm_dev_dbg, \
84ec67288c10fb Jim Cromie 2022-09-11 581 dev, cat, fmt, ##__VA_ARGS__)
84ec67288c10fb Jim Cromie 2022-09-11 582 #endif
e820f52577b14c Jim Cromie 2022-09-11 583
:::::: The code at line 580 was first introduced by commit
:::::: 16deeb8e18cafd30e70d8dc2b12a753b28298d8a drm_print: add _ddebug descriptor to drm_*dbg prototypes
:::::: TO: Jim Cromie <jim.cromie@gmail.com>
:::::: CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-02-03 22:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-03 22:44 [jimc:dd-drm-fix 57/60] include/drm/drm_print.h:580:9: error: implicit declaration of function '_dynamic_func_call_cls' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.