Re: linux-next: build warning after merge of the spi tree

From: Amadeusz Sławiński
Date: Thu Feb 08 2024 - 08:32:50 EST

On 2/8/2024 4:52 AM, Stephen Rothwell wrote:
Hi all,

After merging the spi tree, today's linux-next build (htmldocs) produced
this warning:

Warning: /sys/devices/pci0000:00/<dev>/fw_version is defined 2 times: Documentation/ABI/testing/sysfs-bus-pci-devices-avs:0 Documentation/ABI/testing/sysfs-bus-pci-devices-catpt:0

Introduced by commit

148b93a5062d ("ASoC: Intel: avs: Expose FW version with sysfs")

You need to make the "<dev>" part unique.

Ah! The avs path should've been:
Will "avs/" in path this fix the error?
As far as I know there are at least two possible devices, that's why we used <dev> in path.