Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

docs: powerpc: use different label name for elf_hwcaps.rst

Sphinx reported duplicate label warning:

WARNING: duplicate label elf_hwcaps_index, other instance in Documentation/arm64/elf_hwcaps.rst

The warning is caused by elf_hwcaps_index label name is already used for
arm64 documentation, whileas powerpc use the same name.

Disambiguate the label name for powerpc.

Fixes: 3df1ff42e69e91 ("powerpc: add documentation for HWCAPs")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/linuxppc-dev/20220727220050.549db613@canb.auug.org.au/
Link: https://lore.kernel.org/r/20220728033332.27836-3-bagasdotme@gmail.com

authored by

Bagas Sanjaya and committed by
Michael Ellerman
0595a216 4515862b

+1 -1
+1 -1
Documentation/powerpc/elf_hwcaps.rst
··· 1 - .. _elf_hwcaps_index: 1 + .. _elf_hwcaps_powerpc: 2 2 3 3 ================== 4 4 POWERPC ELF HWCAPs