All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Jim Cromie" <jim.cromie@gmail.com>,
	" Łukasz Bartosik" <ukaszb@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [jimc:dd-drm-fix 57/60] include/drm/drm_print.h:580:9: error: implicit declaration of function '_dynamic_func_call_cls'
Date: Wed, 04 Feb 2026 06:44:59 +0800	[thread overview]
Message-ID: <202602040620.v2vASkep-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-02-03 22:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202602040620.v2vASkep-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=jim.cromie@gmail.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=ukaszb@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.