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

Guenter Roeck
2024-12-03T19:54:00Z

On 12/3/24 11:40, Mark Brown wrote:
> On Tue, Dec 03, 2024 at 07:33:22PM +0000, Mark Brown wrote:
>> Hi all,
>>
>> After merging the hwmon-staging tree, today's linux-next build
>> (x86 allmodconfig) failed like this:
>
> Sorry, this was the i2c-host tree rather than the hwmon-staging tree.
>

I think it is (or should be) the hwmon-next tree.

Guenter

>>
>> In file included from /tmp/next/build/include/linux/module.h:22,
>> from /tmp/next/build/include/linux/device/driver.h:21,
>> from /tmp/next/build/include/linux/device.h:32,
>> from /tmp/next/build/include/linux/hwmon-sysfs.h:10,
>> from /tmp/next/build/drivers/hwmon/pmbus/tps25990.c:9:
>> /tmp/next/build/drivers/hwmon/pmbus/tps25990.c:437:18: error: expected ',' or ';' before 'PMBUS'
>> 437 | MODULE_IMPORT_NS(PMBUS);
>> | ^~~~~
>> /tmp/next/build/include/linux/moduleparam.h:26:61: note: in definition of macro '__MODULE_INFO'
>> 26 | = __MODULE_INFO_PREFIX __stringify(tag) "=" info
>> | ^~~~
>> /tmp/next/build/include/linux/module.h:299:33: note: in expansion of macro 'MODULE_INFO'
>> 299 | #define MODULE_IMPORT_NS(ns) MODULE_INFO(import_ns, ns)
>> | ^~~~~~~~~~~
>> /tmp/next/build/drivers/hwmon/pmbus/tps25990.c:437:1: note: in expansion of macro 'MODULE_IMPORT_NS'
>> 437 | MODULE_IMPORT_NS(PMBUS);
>> | ^~~~~~~~~~~~~~~~
>>
>> Caused by an interaction with Linus' tree. I have used the hwmon tree
>> from 20241128 instead.
>
>