linux-next: build failure after merge of the hwmon-staging tree
From: Mark Brown
Date: Mon Aug 31 2026 - 11:31:09 EST
Hi all,
After merging the hwmon-staging tree, today's linux-next build
(arm64 defconfig) failed like this:
/tmp/next/build/drivers/hwmon/hwmon.c:344:13: error: redefinition of 'is_hwmon_device'
344 | static bool is_hwmon_device(struct device *dev)
| ^~~~~~~~~~~~~~~
/tmp/next/build/drivers/hwmon/hwmon.c:321:13: note: previous definition of 'is_hwmon_device' with type 'bool(struct device *)' {aka '_Bool(struct device *)'}
321 | static bool is_hwmon_device(struct device *dev)
| ^~~~~~~~~~~~~~~
/tmp/next/build/drivers/hwmon/hwmon.c:321:13: warning: 'is_hwmon_device' defined but not used [-Wunused-function]
Caused by commit
40b20f8e6b53e (hwmon: Ensure that 'dev' passed to hwmon_notify_event() is a hwmon device)
and the more intentional seeming
a40a97b27cd6b (hwmon: Ensure that 'dev' passed to hwmon_notify_event() is a hwmon device)
interacting, I assume some cherry pick issue or something. I have used
the tree from next-20260828 instead.
Attachment:
signature.asc
Description: PGP signature