[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <202509271249.8fIMriJh-lkp@intel.com>
Date: Sat, 27 Sep 2025 12:37:14 +0800
From: kernel test robot <lkp@...el.com>
To: Ricardo Ribalda <ribalda@...omium.org>,
Hans de Goede <hansg@...nel.org>,
Laurent Pinchart <laurent.pinchart@...asonboard.com>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzk@...nel.org>,
Conor Dooley <conor+dt@...nel.org>,
Linus Walleij <linus.walleij@...aro.org>,
Bartosz Golaszewski <brgl@...ev.pl>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>, Robert Moore <robert.moore@...el.com>,
Hans Verkuil <hverkuil@...all.nl>
Cc: oe-kbuild-all@...ts.linux.dev, linux-media@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
devicetree@...r.kernel.org, linux-gpio@...r.kernel.org,
linux-acpi@...r.kernel.org, acpica-devel@...ts.linux.dev,
Ricardo Ribalda <ribalda@...omium.org>
Subject: Re: [PATCH v3 03/12] media: v4l: fwnode: Support ACPI's _PLD for
v4l2_fwnode_device_parse
Hi Ricardo,
kernel test robot noticed the following build errors:
[auto build test ERROR on afb100a5ea7a13d7e6937dcd3b36b19dc6cc9328]
url: https://github.com/intel-lab-lkp/linux/commits/Ricardo-Ribalda/media-uvcvideo-Always-set-default_value/20250926-211524
base: afb100a5ea7a13d7e6937dcd3b36b19dc6cc9328
patch link: https://lore.kernel.org/r/20250926-uvc-orientation-v3-3-6dc2fa5b4220%40chromium.org
patch subject: [PATCH v3 03/12] media: v4l: fwnode: Support ACPI's _PLD for v4l2_fwnode_device_parse
config: arm-randconfig-004-20250927 (https://download.01.org/0day-ci/archive/20250927/202509271249.8fIMriJh-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 10.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250927/202509271249.8fIMriJh-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202509271249.8fIMriJh-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from include/linux/printk.h:623,
from include/asm-generic/bug.h:22,
from arch/arm/include/asm/bug.h:60,
from include/linux/bug.h:5,
from include/linux/thread_info.h:13,
from include/asm-generic/preempt.h:5,
from ./arch/arm/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:79,
from include/linux/spinlock.h:56,
from include/linux/mmzone.h:8,
from include/linux/gfp.h:7,
from include/linux/slab.h:16,
from include/linux/resource_ext.h:11,
from include/linux/acpi.h:13,
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:1268:26: error: implicit declaration of function '__acpi_handle_debug'; did you mean 'acpi_handle_debug'? [-Werror=implicit-function-declaration]
1268 | _dynamic_func_call(fmt, __acpi_handle_debug, \
| ^~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:224:3: note: in definition of macro '__dynamic_func_call_cls'
224 | func(&id, ##__VA_ARGS__); \
| ^~~~
include/linux/dynamic_debug.h:250:2: note: in expansion of macro '_dynamic_func_call_cls'
250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/acpi.h:1268:2: note: in expansion of macro '_dynamic_func_call'
1268 | _dynamic_func_call(fmt, __acpi_handle_debug, \
| ^~~~~~~~~~~~~~~~~~
drivers/media/v4l2-core/v4l2-fwnode.c:821:3: note: in expansion of macro 'acpi_handle_debug'
821 | acpi_handle_debug(ACPI_HANDLE(dev), "cannot obtain _PLD\n");
| ^~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +1268 include/linux/acpi.h
45fef5b88d1f2f Bjørn Mork 2014-05-22 1240
fbfddae696572e Toshi Kani 2012-11-21 1241 /*
fbfddae696572e Toshi Kani 2012-11-21 1242 * acpi_handle_<level>: Print message with ACPI prefix and object path
fbfddae696572e Toshi Kani 2012-11-21 1243 *
fbfddae696572e Toshi Kani 2012-11-21 1244 * These interfaces acquire the global namespace mutex to obtain an object
fbfddae696572e Toshi Kani 2012-11-21 1245 * path. In interrupt context, it shows the object path as <n/a>.
fbfddae696572e Toshi Kani 2012-11-21 1246 */
fbfddae696572e Toshi Kani 2012-11-21 1247 #define acpi_handle_emerg(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1248 acpi_handle_printk(KERN_EMERG, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1249 #define acpi_handle_alert(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1250 acpi_handle_printk(KERN_ALERT, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1251 #define acpi_handle_crit(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1252 acpi_handle_printk(KERN_CRIT, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1253 #define acpi_handle_err(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1254 acpi_handle_printk(KERN_ERR, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1255 #define acpi_handle_warn(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1256 acpi_handle_printk(KERN_WARNING, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1257 #define acpi_handle_notice(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1258 acpi_handle_printk(KERN_NOTICE, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1259 #define acpi_handle_info(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1260 acpi_handle_printk(KERN_INFO, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1261
45fef5b88d1f2f Bjørn Mork 2014-05-22 1262 #if defined(DEBUG)
fbfddae696572e Toshi Kani 2012-11-21 1263 #define acpi_handle_debug(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1264 acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__)
fbfddae696572e Toshi Kani 2012-11-21 1265 #else
45fef5b88d1f2f Bjørn Mork 2014-05-22 1266 #if defined(CONFIG_DYNAMIC_DEBUG)
45fef5b88d1f2f Bjørn Mork 2014-05-22 1267 #define acpi_handle_debug(handle, fmt, ...) \
f1ebe04f5ba2f4 Rasmus Villemoes 2019-03-07 @1268 _dynamic_func_call(fmt, __acpi_handle_debug, \
f1ebe04f5ba2f4 Rasmus Villemoes 2019-03-07 1269 handle, pr_fmt(fmt), ##__VA_ARGS__)
45fef5b88d1f2f Bjørn Mork 2014-05-22 1270 #else
fbfddae696572e Toshi Kani 2012-11-21 1271 #define acpi_handle_debug(handle, fmt, ...) \
fbfddae696572e Toshi Kani 2012-11-21 1272 ({ \
fbfddae696572e Toshi Kani 2012-11-21 1273 if (0) \
fbfddae696572e Toshi Kani 2012-11-21 1274 acpi_handle_printk(KERN_DEBUG, handle, fmt, ##__VA_ARGS__); \
fbfddae696572e Toshi Kani 2012-11-21 1275 0; \
fbfddae696572e Toshi Kani 2012-11-21 1276 })
fbfddae696572e Toshi Kani 2012-11-21 1277 #endif
45fef5b88d1f2f Bjørn Mork 2014-05-22 1278 #endif
fbfddae696572e Toshi Kani 2012-11-21 1279
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
Powered by blists - more mailing lists