linux-next: build warning after merge of the spi tree
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.
Signature · 2 lines
Cheers, Stephen Rothwell
Mark Brown
maintainerQuoted 5 lines · Stephen Rothwell
Introduced by commit
148b93a5062d("ASoC: Intel: avs: Expose FW version with sysfs")You need to make the "<dev>" part unique.
Since it ended up in the wrong tree anyway I'll just drop this.
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the spi tree, today's linux-next build (htmldocs) produced this warning:
Quoted 8 lines
Warning: /sys/devices/pci0000:00/<dev>/fw_version is defined 2 times:
Documentation/ABI/testing/sysfs-bus-pci-devices-avs:0Documentation/ABI/testing/sysfs-bus-pci-devices-catpt:0Introduced 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.
Hi Amadeusz,
Quoted 4 lines · On Thu, 8 Feb 2024 14:32:15 +0100 Amadeusz Sławiński…
Ah! The avs path should've been:
/sys/devices/pci0000:00/<dev>/avs/fw_version
Will "avs/" in path this fix the error?
Presumably, since the path string will then be unique.
Signature · 2 lines
Cheers, Stephen Rothwell