Re: linux-next: build failure after merge of the hwmon-staging tree

From: Guenter Roeck

Date: Wed Jun 10 2026 - 09:05:07 EST


On 6/10/26 04:45, Mark Brown wrote:
Hi all,

After merging the hwmon-staging tree, today's linux-next build (x86_64
allmodconfig) failed like this:

/tmp/next/build/drivers/hwmon/cros_ec_hwmon.c:173:13: error: unused function 'cros_ec_hwmon_millicelsius_to_kelvin' [-Werror,-Wunused-function]
173 | static long cros_ec_hwmon_millicelsius_to_kelvin(long t)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Caused by commit

4a1140942f92a3 (hwmon: (cros_ec) Implement custom kelvin to celsius conversions)

I have used the tree from next-2060609 instead.

Thomas,

All patches of a series need to be compileable. Only introduce new static
functions where actually used.

I had to drop the series.

Guenter