Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 3 participants 4 messages Feb 8, 2024 Linux-next tree

lore
Share & tools
lore
#0 lore raw

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
maintainer
#1 lore raw
Quoted 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.

#2 lore raw
In reply to Stephen Rothwell
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: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.

#3 lore raw

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