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

Amadeusz Sławiński
2024-02-08T13:32:38Z

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:
/sys/devices/pci0000:00/<dev>/avs/fw_version
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.