* [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'?
@ 2026-04-03 8:42 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-04-03 8:42 UTC (permalink / raw)
To: Ricardo Ribalda; +Cc: oe-kbuild-all, linux-media, Sakari Ailus, Hans de Goede
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-04-03 8:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-03 8:42 [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'? kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox