From: kernel test robot <lkp@intel.com>
To: Ricardo Ribalda <ribalda@chromium.org>
Cc: oe-kbuild-all@lists.linux.dev, linux-media@vger.kernel.org,
Sakari Ailus <sakari.ailus@linux.intel.com>,
Hans de Goede <hansg@kernel.org>
Subject: [sailus-media-tree:pld 24/32] include/linux/acpi.h:1275:33: error: implicit declaration of function '__acpi_handle_debug'; did you mean 'acpi_handle_debug'?
Date: Fri, 03 Apr 2026 16:42:13 +0800 [thread overview]
Message-ID: <202604022300.ObDwjXBo-lkp@intel.com> (raw)
tree: git://linuxtv.org/sailus/media_tree.git pld
head: b8c5b499767feb946c184029ff272276a036623e
commit: 010794c2fea2ddf1d1556e40bcd97c3c3b952825 [24/32] media: v4l: fwnode: Support ACPI's _PLD for v4l2_fwnode_device_parse
config: i386-buildonly-randconfig-002-20260402 (https://download.01.org/0day-ci/archive/20260402/202604022300.ObDwjXBo-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260402/202604022300.ObDwjXBo-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/202604022300.ObDwjXBo-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/printk.h:620,
from include/asm-generic/bug.h:31,
from arch/x86/include/asm/bug.h:193,
from arch/x86/include/asm/alternative.h:9,
from arch/x86/include/asm/barrier.h:5,
from include/linux/list.h:11,
from include/linux/resource_ext.h:9,
from include/linux/acpi.h:14,
from drivers/media/v4l2-core/v4l2-fwnode.c:17:
drivers/media/v4l2-core/v4l2-fwnode.c: In function 'v4l2_fwnode_device_parse_acpi':
>> include/linux/acpi.h:1275:33: error: implicit declaration of function '__acpi_handle_debug'; did you mean 'acpi_handle_debug'? [-Werror=implicit-function-declaration]
1275 | _dynamic_func_call(fmt, __acpi_handle_debug, \
| ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:231:17: note: in definition of macro '__dynamic_func_call_cls'
231 | func(&id, ##__VA_ARGS__); \
| ^~~~
include/linux/dynamic_debug.h:261:9: note: in expansion of macro '_dynamic_func_call_cls'
261 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/acpi.h:1275:9: note: in expansion of macro '_dynamic_func_call'
1275 | _dynamic_func_call(fmt, __acpi_handle_debug, \
| ^~~~~~~~~~~~~~~~~~
drivers/media/v4l2-core/v4l2-fwnode.c:831:17: note: in expansion of macro 'acpi_handle_debug'
831 | acpi_handle_debug(ACPI_HANDLE(dev), "cannot obtain _PLD\n");
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +1275 include/linux/acpi.h
45fef5b88d1f2f Bjørn Mork 2014-05-22 1247
fbfddae696572e Toshi Kani 2012-11-21 1248 /*
fbfddae696572e Toshi Kani 2012-11-21 1249 * acpi_handle_<level>: Print message with ACPI prefix and object path
fbfddae696572e Toshi Kani 2012-11-21 1250 *
fbfddae696572e Toshi Kani 2012-11-21 1251 * These interfaces acquire the global namespace mutex to obtain an object
fbfddae696572e Toshi Kani 2012-11-21 1252 * path. In interrupt context, it shows the object path as <n/a>.
fbfddae696572e Toshi Kani 2012-11-21 1253 */
fbfddae696572e Toshi Kani 2012-11-21 1254 #define acpi_handle_emerg(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1255 acpi_handle_printk(KERN_EMERG, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1256 #define acpi_handle_alert(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1257 acpi_handle_printk(KERN_ALERT, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1258 #define acpi_handle_crit(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1259 acpi_handle_printk(KERN_CRIT, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1260 #define acpi_handle_err(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1261 acpi_handle_printk(KERN_ERR, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1262 #define acpi_handle_warn(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1263 acpi_handle_printk(KERN_WARNING, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1264 #define acpi_handle_notice(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1265 acpi_handle_printk(KERN_NOTICE, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1266 #define acpi_handle_info(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1267 acpi_handle_printk(KERN_INFO, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1268
45fef5b88d1f2f Bjørn Mork 2014-05-22 1269 #if defined(DEBUG)
fbfddae696572e Toshi Kani 2012-11-21 1270 #define acpi_handle_debug(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1271 acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1272 #else
45fef5b88d1f2f Bjørn Mork 2014-05-22 1273 #if defined(CONFIG_DYNAMIC_DEBUG)
45fef5b88d1f2f Bjørn Mork 2014-05-22 1274 #define acpi_handle_debug(handle, fmt, ...) \
f1ebe04f5ba2f4 Rasmus Villemoes 2019-03-07 @1275 _dynamic_func_call(fmt, __acpi_handle_debug, \
f1ebe04f5ba2f4 Rasmus Villemoes 2019-03-07 1276 handle, pr_fmt(fmt), ##__VA_ARGS__)
45fef5b88d1f2f Bjørn Mork 2014-05-22 1277 #else
fbfddae696572e Toshi Kani 2012-11-21 1278 #define acpi_handle_debug(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1279 ({ \
fbfddae696572e Toshi Kani 2012-11-21 1280 if (0) \
fbfddae696572e Toshi Kani 2012-11-21 1281 acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__); \
fbfddae696572e Toshi Kani 2012-11-21 1282 0; \
fbfddae696572e Toshi Kani 2012-11-21 1283 })
fbfddae696572e Toshi Kani 2012-11-21 1284 #endif
45fef5b88d1f2f Bjørn Mork 2014-05-22 1285 #endif
fbfddae696572e Toshi Kani 2012-11-21 1286
:::::: The code at line 1275 was first introduced by commit
:::::: f1ebe04f5ba2f49fd672f12cdef46acda73cd9cf ACPI: implement acpi_handle_debug in terms of _dynamic_func_call
:::::: TO: Rasmus Villemoes <linux@rasmusvillemoes.dk>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-04-03 8:43 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=202604022300.ObDwjXBo-lkp@intel.com \
--to=lkp@intel.com \
--cc=hansg@kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=ribalda@chromium.org \
--cc=sakari.ailus@linux.intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox