From patchwork Thu Jul 28 03:33:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bagas Sanjaya X-Patchwork-Id: 12930990 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 81D96C04A68 for ; Thu, 28 Jul 2022 03:35:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=J7Esj7WYC9+Go9YLDUMp3ODfzeLQsfGRXNV+wag6bg0=; b=QXPTRfjT0kK8zN jRuwBEohaE3SWph423X4q0n2t1MUZEiA3lhzqxoBYkXsUA9EXsfIyFSPP05cIzyGpoAhq1bbhqve2 145CURTBR5z4yZlABo5w0in3UGZC0kPvkAFDLgHXz+uEJwLpZ4g2WynLCu/oMDiHh3vXFSAk4kXu1 SRUfApifJyyTxtQf6xKbZJD6jv4W03V7cOz3GbcsVi3wQ3gQ8t49czzqKALFDEogJuHzm+M1cORGm 1/KZ6QxDm0HagZv7yMx8k7069oa38AukDnvH56Oh52wD7M2D7/QlguGvuDE9sgja/RKODhACr8+gy 51IycZ1AANtaSl+Dyrzg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGuII-003cfk-Jx; Thu, 28 Jul 2022 03:34:38 +0000 Received: from mail-pl1-x630.google.com ([2607:f8b0:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oGuI4-003cNJ-FL for linux-arm-kernel@lists.infradead.org; Thu, 28 Jul 2022 03:34:26 +0000 Received: by mail-pl1-x630.google.com with SMTP id v18so680254plo.8 for ; Wed, 27 Jul 2022 20:34:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=j10ToGanO3cd/vYuHa5Kn8foeTs8uMlyZtELPg2UY1U=; b=ZCpCWijzlJKFs64G+1k7Jl5GKh6G4zOE6ybwGhhR/exQ9bGqHu5jiznO5HvWlqa/rJ 6blTRDDSiBqKmbeZa1uCPh2Nyo9/0lSgoBae4muND+4qWPGNamj5AmdAYBJUEm7SGqbw HXf6QFOrlDBQfF0eLDtdaVtzxe79XUj6OMXvc70gPfydf9HkHcRXdr6fvkFRltTf5//h 6Fy6RAqzfsW2N7ZbZKzdwib5zi2mCAOr5ScVrstEYPdirvZgJ8zOFm9HKdRn/Y5LPWwJ ZY60cdEvLCP8iXWLUhJQo99JJiatYHysQCuaGzKDYXD6AMFLvjVx1VTyMSLscmEAgq2B xtsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=j10ToGanO3cd/vYuHa5Kn8foeTs8uMlyZtELPg2UY1U=; b=RCqu9qrbVKLv5Q+Y76kO6FqnhhY/PyxUW9QAJHLRZpOgItcf4+zTvrvOwM1C+f6k+h i1pI2ATbWLMmDLdppUh+aTs+IFFSpvSWFHKaZrxTPdxnFNOhu++u8Vk0dU4AJOsvp38u tIjpDHX7mJG776oh25BJGL0ld4YnZISlWI4zjqnAQe6lRd8o5u0pnDigbV9l6yPqPRR3 4G8mSqD6dvnxaYkTcBFLpSo6pRwjLsMh4UjXocgCKqwtJtviRn4ZxXr444jHUMIDYA9I av8VgVFx5MjrNz3R4yW7xMdpMHQO6zkALu2Ri69qAlBUaY6jxbiTYW0BN7fvd36kGagt jYXg== X-Gm-Message-State: AJIora+8pdEMGdy05t0ojKpjws9bncvBgSNrAL5h5vslhBJqcqTLe/+O Ca7JtfI9G7qL1Z1+Xtt1R/E= X-Google-Smtp-Source: AGRyM1stnTgNjHqQvTX8yokSMFJC+fEv40VFSklSquPlJzshMGe0L5wVcYIHWCUudBsD3zBQBgCCow== X-Received: by 2002:a17:902:d54f:b0:16d:3bce:c40e with SMTP id z15-20020a170902d54f00b0016d3bcec40emr24861840plf.87.1658979262545; Wed, 27 Jul 2022 20:34:22 -0700 (PDT) Received: from debian.me (subs28-116-206-12-54.three.co.id. [116.206.12.54]) by smtp.gmail.com with ESMTPSA id m17-20020a170902db1100b0016d33b8a231sm8418629plx.270.2022.07.27.20.34.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Jul 2022 20:34:21 -0700 (PDT) Received: by debian.me (Postfix, from userid 1000) id 5F5C7104A8C; Thu, 28 Jul 2022 10:34:16 +0700 (WIB) From: Bagas Sanjaya To: linux-doc@vger.kernel.org, linux-next@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-doc-tw-discuss@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , Jonathan Corbet , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Alex Shi , Yanteng Si , Nicholas Piggin , Segher Boessenkool , Bagas Sanjaya , Stephen Rothwell Subject: [PATCH 2/3] Documentation: use different label names for each arch's elf_hwcaps.rst Date: Thu, 28 Jul 2022 10:33:32 +0700 Message-Id: <20220728033332.27836-3-bagasdotme@gmail.com> X-Mailer: git-send-email 2.37.1 In-Reply-To: <20220727220050.549db613@canb.auug.org.au> References: <20220727220050.549db613@canb.auug.org.au> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220727_203424_530755_CB46A8B5 X-CRM114-Status: GOOD ( 11.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 each architecture's documentation. While at it, also adjust original reference in translated documentation. Link: https://lore.kernel.org/linuxppc-dev/20220727220050.549db613@canb.auug.org.au/ Fixes: 3df1ff42e69e91 ("powerpc: add documentation for HWCAPs") Reported-by: Stephen Rothwell Signed-off-by: Bagas Sanjaya --- Documentation/arm64/elf_hwcaps.rst | 2 +- Documentation/powerpc/elf_hwcaps.rst | 2 +- Documentation/translations/zh_CN/arm64/elf_hwcaps.rst | 2 +- Documentation/translations/zh_TW/arm64/elf_hwcaps.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/arm64/elf_hwcaps.rst b/Documentation/arm64/elf_hwcaps.rst index 3d116fb536c538..63b75080ec4544 100644 --- a/Documentation/arm64/elf_hwcaps.rst +++ b/Documentation/arm64/elf_hwcaps.rst @@ -1,4 +1,4 @@ -.. _elf_hwcaps_index: +.. _elf_hwcaps_arm64: ================ ARM64 ELF hwcaps diff --git a/Documentation/powerpc/elf_hwcaps.rst b/Documentation/powerpc/elf_hwcaps.rst index bb7438cebf36e8..3366e5b18e6759 100644 --- a/Documentation/powerpc/elf_hwcaps.rst +++ b/Documentation/powerpc/elf_hwcaps.rst @@ -1,4 +1,4 @@ -.. _elf_hwcaps_index: +.. _elf_hwcaps_powerpc: ================== POWERPC ELF HWCAPs diff --git a/Documentation/translations/zh_CN/arm64/elf_hwcaps.rst b/Documentation/translations/zh_CN/arm64/elf_hwcaps.rst index 9aa4637eac979c..39a94ff5383c01 100644 --- a/Documentation/translations/zh_CN/arm64/elf_hwcaps.rst +++ b/Documentation/translations/zh_CN/arm64/elf_hwcaps.rst @@ -1,6 +1,6 @@ .. include:: ../disclaimer-zh_CN.rst -:Original: :ref:`Documentation/arm64/elf_hwcaps.rst ` +:Original: :ref:`Documentation/arm64/elf_hwcaps.rst ` Translator: Bailu Lin diff --git a/Documentation/translations/zh_TW/arm64/elf_hwcaps.rst b/Documentation/translations/zh_TW/arm64/elf_hwcaps.rst index 3eb1c623ce31b0..76164d851d0b5e 100644 --- a/Documentation/translations/zh_TW/arm64/elf_hwcaps.rst +++ b/Documentation/translations/zh_TW/arm64/elf_hwcaps.rst @@ -2,7 +2,7 @@ .. include:: ../disclaimer-zh_TW.rst -:Original: :ref:`Documentation/arm64/elf_hwcaps.rst ` +:Original: :ref:`Documentation/arm64/elf_hwcaps.rst ` Translator: Bailu Lin Hu Haowen