From nobody Thu Dec 18 09:08:10 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA3CE1A0721; Mon, 24 Jun 2024 18:53:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719255203; cv=none; b=b5Q+lNsEVQsxf0C7vi16PEGgPkPYW7LQAzXoqdN6XHIDcUlxGSS0jmjxmI2quFBB8IeHDm6mb12LcjZd3ez2K07BLJhPB+kwe1M05uycNYmDnIi7JxkOcIpLqrDwoceaTM87qWm0I23jz6xayAGTj02N5gGJzpfOrVUzSLReVQ0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1719255203; c=relaxed/simple; bh=jAoRQzMIiJVMipHSFJFpwVQWrLjDFLWRCwgzcGreZdk=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=lsd2iC5iJJFrZ7WHrAey9A1xmnerjlRap3IACYFBTlqDakcxAtQCKq5YtFQPKVbIlLHRz0JzAbGguie2JB5d0OF8OjCmEiQhAFf8XukE9IrqMdWQL8QqbhoNRXVG3TlaJE43GSMbMfMIy+MEwc1qZQr8M7fmE/R42v4niONW2JA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=N10uO/wo; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="N10uO/wo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1C611C4AF0A; Mon, 24 Jun 2024 18:53:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719255203; bh=jAoRQzMIiJVMipHSFJFpwVQWrLjDFLWRCwgzcGreZdk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=N10uO/woyXoJi2a6SoCpIeCpqnqgNOSMamTR5++NTp4kwy6L81exBTKh3aUu+W489 lxY3eG5fSmcxnQp6e90vPPvNK/psC9sO8+n+jumGD+ATVzwFM1cfOtA7DYBTOIfbZ0 hXSwu/OgkxvbJgk+fdnbTrYV+eNmBuZPCJLlTPe2YklEraJ5N0Ala17udrnYEHqHiy L5MXTjReS17MM5Ad8ULfCM+HANcXqZF09y8KMTVoI6ibUkr7rFz4i7PDFwnPbhevDe nLtvMMn3cj94vV6WbcUaSmYxfCBTGau8W8AqjWuV9aCDBjJOVywbJhZxExI0DDw0GU FR4ElqdA8Ev8A== From: SeongJae Park To: Jonathan Corbet Cc: SeongJae Park , Miguel Ojeda , Federico Vaga , Carlos Bilbao , Avadhut Naik , Alex Shi , Yanteng Si , Hu Haowen <2023002089@link.tyut.edu.cn>, Nathan Chancellor , Nick Desaulniers , Bill Wendling , Justin Stitt , linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, workflows@vger.kernel.org, llvm@lists.linux.dev Subject: [PATCH 4/7] Docs: Move clang-format from process/ to dev-tools/ Date: Mon, 24 Jun 2024 11:53:09 -0700 Message-Id: <20240624185312.94537-5-sj@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240624185312.94537-1-sj@kernel.org> References: <20240624185312.94537-1-sj@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 'clang-format' is on 'Other material' section of 'process/index', but it may fit more under 'dev-tools/' directory. Move it. Signed-off-by: SeongJae Park Acked-by: Federico Vaga Acked-by: Miguel Ojeda --- .clang-format | 2 +- Documentation/{process =3D> dev-tools}/clang-format.rst | 0 Documentation/dev-tools/index.rst | 1 + Documentation/process/4.Coding.rst | 2 +- Documentation/process/coding-style.rst | 2 +- Documentation/process/index.rst | 1 - Documentation/translations/it_IT/process/clang-format.rst | 2 +- Documentation/translations/sp_SP/process/coding-style.rst | 2 +- Documentation/translations/zh_CN/process/4.Coding.rst | 2 +- Documentation/translations/zh_CN/process/coding-style.rst | 2 +- Documentation/translations/zh_TW/process/4.Coding.rst | 2 +- Documentation/translations/zh_TW/process/coding-style.rst | 2 +- 12 files changed, 10 insertions(+), 10 deletions(-) rename Documentation/{process =3D> dev-tools}/clang-format.rst (100%) diff --git a/.clang-format b/.clang-format index ccc9b93972a9..252820d9c80a 100644 --- a/.clang-format +++ b/.clang-format @@ -4,7 +4,7 @@ # # For more information, see: # -# Documentation/process/clang-format.rst +# Documentation/dev-tools/clang-format.rst # https://clang.llvm.org/docs/ClangFormat.html # https://clang.llvm.org/docs/ClangFormatStyleOptions.html # diff --git a/Documentation/process/clang-format.rst b/Documentation/dev-too= ls/clang-format.rst similarity index 100% rename from Documentation/process/clang-format.rst rename to Documentation/dev-tools/clang-format.rst diff --git a/Documentation/dev-tools/index.rst b/Documentation/dev-tools/in= dex.rst index efa49cdc8e2e..a5f241cf0c02 100644 --- a/Documentation/dev-tools/index.rst +++ b/Documentation/dev-tools/index.rst @@ -16,6 +16,7 @@ Documentation/dev-tools/testing-overview.rst =20 testing-overview checkpatch + clang-format coccinelle sparse kcov diff --git a/Documentation/process/4.Coding.rst b/Documentation/process/4.C= oding.rst index c2046dec0c2f..80bcc1cabc23 100644 --- a/Documentation/process/4.Coding.rst +++ b/Documentation/process/4.Coding.rst @@ -63,7 +63,7 @@ these rules, to quickly re-format parts of your code auto= matically, and to review full files in order to spot coding style mistakes, typos and possible improvements. It is also handy for sorting ``#includes`= `, for aligning variables/macros, for reflowing text and other similar tasks. -See the file :ref:`Documentation/process/clang-format.rst ` +See the file :ref:`Documentation/dev-tools/clang-format.rst ` for more details. =20 Some basic editor settings, such as indentation and line endings, will be diff --git a/Documentation/process/coding-style.rst b/Documentation/process= /coding-style.rst index 7e768c65aa92..04f6aa377a5d 100644 --- a/Documentation/process/coding-style.rst +++ b/Documentation/process/coding-style.rst @@ -732,7 +732,7 @@ these rules, to quickly re-format parts of your code au= tomatically, and to review full files in order to spot coding style mistakes, typos and possible improvements. It is also handy for sorting ``#includes`= `, for aligning variables/macros, for reflowing text and other similar tasks. -See the file :ref:`Documentation/process/clang-format.rst ` +See the file :ref:`Documentation/dev-tools/clang-format.rst ` for more details. =20 Some basic editor settings, such as indentation and line endings, will be diff --git a/Documentation/process/index.rst b/Documentation/process/index.= rst index fb089bf9d6a8..1827e73f6376 100644 --- a/Documentation/process/index.rst +++ b/Documentation/process/index.rst @@ -113,7 +113,6 @@ lack of a better place. .. toctree:: :maxdepth: 1 =20 - clang-format =20 .. only:: subproject and html =20 diff --git a/Documentation/translations/it_IT/process/clang-format.rst b/Do= cumentation/translations/it_IT/process/clang-format.rst index 29f83c198025..6fab07772da0 100644 --- a/Documentation/translations/it_IT/process/clang-format.rst +++ b/Documentation/translations/it_IT/process/clang-format.rst @@ -1,6 +1,6 @@ .. include:: ../disclaimer-ita.rst =20 -:Original: :ref:`Documentation/process/clang-format.rst ` +:Original: :ref:`Documentation/dev-tools/clang-format.rst ` :Translator: Federico Vaga =20 .. _it_clangformat: diff --git a/Documentation/translations/sp_SP/process/coding-style.rst b/Do= cumentation/translations/sp_SP/process/coding-style.rst index b5a84df44cea..025223be9706 100644 --- a/Documentation/translations/sp_SP/process/coding-style.rst +++ b/Documentation/translations/sp_SP/process/coding-style.rst @@ -754,7 +754,7 @@ c=C3=B3digo autom=C3=A1ticamente, y revisar archivos co= mpletos para detectar errores de estilo del c=C3=B3digo, errores tipogr=C3=A1ficos y posibles mejoras. T= ambi=C3=A9n es =C3=BAtil para ordenar ``#includes``, para alinear variables/macros, para redistribuir texto y otras tareas similares. Vea el archivo -:ref:`Documentation/process/clang-format.rst ` para m=C3=A1s +:ref:`Documentation/dev-tools/clang-format.rst ` para m=C3=A1s detalles. =20 10) Archivos de configuraci=C3=B3n de Kconfig diff --git a/Documentation/translations/zh_CN/process/4.Coding.rst b/Docume= ntation/translations/zh_CN/process/4.Coding.rst index 7cac9424f5d5..4cc35d410dbc 100644 --- a/Documentation/translations/zh_CN/process/4.Coding.rst +++ b/Documentation/translations/zh_CN/process/4.Coding.rst @@ -54,7 +54,7 @@ =E6=B3=A8=E6=84=8F=E6=82=A8=E8=BF=98=E5=8F=AF=E4=BB=A5=E4=BD=BF=E7=94=A8 `= `clang-format`` =E5=B7=A5=E5=85=B7=E6=9D=A5=E5=B8=AE=E5=8A=A9=E6=82=A8=E5= =A4=84=E7=90=86=E8=BF=99=E4=BA=9B=E8=A7=84=E5=88=99=EF=BC=8C=E5=BF=AB=E9=80= =9F=E8=87=AA=E5=8A=A8=E9=87=8D=E6=96=B0=E6=A0=BC=E5=BC=8F =E5=8C=96=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81=EF=BC=8C=E5=92=8C=E5=AE=A1= =E9=98=85=E5=AE=8C=E6=95=B4=E7=9A=84=E6=96=87=E4=BB=B6=E4=BB=A5=E5=8F=91=E7= =8E=B0=E4=BB=A3=E7=A0=81=E6=A0=B7=E5=BC=8F=E9=94=99=E8=AF=AF=E3=80=81=E6=8B= =BC=E5=86=99=E9=94=99=E8=AF=AF=E5=92=8C=E5=8F=AF=E8=83=BD=E7=9A=84=E6=94=B9= =E8=BF=9B=E3=80=82=E5=AE=83=E8=BF=98 =E5=8F=AF=E4=BB=A5=E6=96=B9=E4=BE=BF=E5=9C=B0=E6=8E=92=E5=BA=8F ``#include= s`` =E3=80=81=E5=AF=B9=E9=BD=90=E5=8F=98=E9=87=8F/=E5=AE=8F=E3=80=81=E9=87= =8D=E6=8E=92=E6=96=87=E6=9C=AC=E5=92=8C=E5=85=B6=E4=BB=96=E7=B1=BB=E4=BC=BC= =E4=BB=BB=E5=8A=A1=E3=80=82=E6=9C=89=E5=85=B3=E8=AF=A6=E7=BB=86 -=E4=BF=A1=E6=81=AF=EF=BC=8C=E8=AF=B7=E5=8F=82=E9=98=85=E6=96=87=E6=A1=A3 := ref:`Documentation/process/clang-format.rst ` +=E4=BF=A1=E6=81=AF=EF=BC=8C=E8=AF=B7=E5=8F=82=E9=98=85=E6=96=87=E6=A1=A3 := ref:`Documentation/dev-tools/clang-format.rst ` =20 =E6=8A=BD=E8=B1=A1=E5=B1=82 ****** diff --git a/Documentation/translations/zh_CN/process/coding-style.rst b/Do= cumentation/translations/zh_CN/process/coding-style.rst index 3bc2810b151d..10b9cb4f6a65 100644 --- a/Documentation/translations/zh_CN/process/coding-style.rst +++ b/Documentation/translations/zh_CN/process/coding-style.rst @@ -654,7 +654,7 @@ Documentation/translations/zh_CN/doc-guide/index.rst = =E5=92=8C scripts/kernel-doc =E3=80=82 =E8=AF=B7=E6=B3=A8=E6=84=8F=EF=BC=8C=E6=82=A8=E8=BF=98=E5=8F=AF=E4=BB=A5= =E4=BD=BF=E7=94=A8 ``clang-format`` =E5=B7=A5=E5=85=B7=E5=B8=AE=E5=8A=A9=E6= =82=A8=E5=A4=84=E7=90=86=E8=BF=99=E4=BA=9B=E8=A7=84=E5=88=99=EF=BC=8C=E5=BF= =AB=E9=80=9F=E8=87=AA=E5=8A=A8=E9=87=8D=E6=96=B0=E6=A0=BC =E5=BC=8F=E5=8C=96=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81=EF=BC=8C=E5=B9=B6= =E5=AE=A1=E9=98=85=E6=95=B4=E4=B8=AA=E6=96=87=E4=BB=B6=E4=BB=A5=E5=8F=91=E7= =8E=B0=E4=BB=A3=E7=A0=81=E9=A3=8E=E6=A0=BC=E9=94=99=E8=AF=AF=E3=80=81=E6=89= =93=E5=AD=97=E9=94=99=E8=AF=AF=E5=92=8C=E5=8F=AF=E8=83=BD=E7=9A=84=E6=94=B9= =E8=BF=9B=E3=80=82=E5=AE=83=E8=BF=98=E5=8F=AF =E4=BB=A5=E6=96=B9=E4=BE=BF=E5=9C=B0=E6=8E=92=E5=BA=8F ``#include`` =EF=BC= =8C=E5=AF=B9=E9=BD=90=E5=8F=98=E9=87=8F/=E5=AE=8F=EF=BC=8C=E9=87=8D=E6=8E= =92=E6=96=87=E6=9C=AC=E5=92=8C=E5=85=B6=E4=BB=96=E7=B1=BB=E4=BC=BC=E4=BB=BB= =E5=8A=A1=E3=80=82 -=E8=AF=A6=E8=A7=81 Documentation/process/clang-format.rst =E3=80=82 +=E8=AF=A6=E8=A7=81 Documentation/dev-tools/clang-format.rst =E3=80=82 =20 =20 10) Kconfig =E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6 diff --git a/Documentation/translations/zh_TW/process/4.Coding.rst b/Docume= ntation/translations/zh_TW/process/4.Coding.rst index bdd2abe4daf4..e90a6b51fb98 100644 --- a/Documentation/translations/zh_TW/process/4.Coding.rst +++ b/Documentation/translations/zh_TW/process/4.Coding.rst @@ -57,7 +57,7 @@ =E6=B3=A8=E6=84=8F=E6=82=A8=E9=82=84=E5=8F=AF=E4=BB=A5=E4=BD=BF=E7=94=A8 `= `clang-format`` =E5=B7=A5=E5=85=B7=E4=BE=86=E5=B9=AB=E5=8A=A9=E6=82=A8=E8= =99=95=E7=90=86=E9=80=99=E4=BA=9B=E8=A6=8F=E5=89=87=EF=BC=8C=E5=BF=AB=E9=80= =9F=E8=87=AA=E5=8B=95=E9=87=8D=E6=96=B0=E6=A0=BC=E5=BC=8F =E5=8C=96=E9=83=A8=E5=88=86=E4=BB=A3=E7=A2=BC=EF=BC=8C=E5=92=8C=E5=AF=A9= =E9=96=B1=E5=AE=8C=E6=95=B4=E7=9A=84=E6=96=87=E4=BB=B6=E4=BB=A5=E7=99=BC=E7= =8F=BE=E4=BB=A3=E7=A2=BC=E6=A8=A3=E5=BC=8F=E9=8C=AF=E8=AA=A4=E3=80=81=E6=8B= =BC=E5=AF=AB=E9=8C=AF=E8=AA=A4=E5=92=8C=E5=8F=AF=E8=83=BD=E7=9A=84=E6=94=B9= =E9=80=B2=E3=80=82=E5=AE=83=E9=82=84 =E5=8F=AF=E4=BB=A5=E6=96=B9=E4=BE=BF=E5=9C=B0=E6=8E=92=E5=BA=8F ``#include= s`` =E3=80=81=E5=B0=8D=E9=BD=8A=E8=AE=8A=E9=87=8F/=E5=AE=8F=E3=80=81=E9=87= =8D=E6=8E=92=E6=96=87=E6=9C=AC=E5=92=8C=E5=85=B6=E4=BB=96=E9=A1=9E=E4=BC=BC= =E4=BB=BB=E5=8B=99=E3=80=82=E6=9C=89=E9=97=9C=E8=A9=B3=E7=B4=B0 -=E4=BF=A1=E6=81=AF=EF=BC=8C=E8=AB=8B=E5=8F=83=E9=96=B1=E6=96=87=E6=AA=94 := ref:`Documentation/process/clang-format.rst ` +=E4=BF=A1=E6=81=AF=EF=BC=8C=E8=AB=8B=E5=8F=83=E9=96=B1=E6=96=87=E6=AA=94 := ref:`Documentation/dev-tools/clang-format.rst ` =20 =E6=8A=BD=E8=B1=A1=E5=B1=A4 ****** diff --git a/Documentation/translations/zh_TW/process/coding-style.rst b/Do= cumentation/translations/zh_TW/process/coding-style.rst index c7ac504f6f40..311c6f6bad0b 100644 --- a/Documentation/translations/zh_TW/process/coding-style.rst +++ b/Documentation/translations/zh_TW/process/coding-style.rst @@ -657,7 +657,7 @@ Documentation/translations/zh_CN/doc-guide/index.rst = =E5=92=8C scripts/kernel-doc =E3=80=82 =E8=AB=8B=E6=B3=A8=E6=84=8F=EF=BC=8C=E6=82=A8=E9=82=84=E5=8F=AF=E4=BB=A5= =E4=BD=BF=E7=94=A8 ``clang-format`` =E5=B7=A5=E5=85=B7=E5=B9=AB=E5=8A=A9=E6= =82=A8=E8=99=95=E7=90=86=E9=80=99=E4=BA=9B=E8=A6=8F=E5=89=87=EF=BC=8C=E5=BF= =AB=E9=80=9F=E8=87=AA=E5=8B=95=E9=87=8D=E6=96=B0=E6=A0=BC =E5=BC=8F=E5=8C=96=E9=83=A8=E5=88=86=E4=BB=A3=E7=A2=BC=EF=BC=8C=E4=B8=A6= =E5=AF=A9=E9=96=B1=E6=95=B4=E5=80=8B=E6=96=87=E4=BB=B6=E4=BB=A5=E7=99=BC=E7= =8F=BE=E4=BB=A3=E7=A2=BC=E9=A2=A8=E6=A0=BC=E9=8C=AF=E8=AA=A4=E3=80=81=E6=89= =93=E5=AD=97=E9=8C=AF=E8=AA=A4=E5=92=8C=E5=8F=AF=E8=83=BD=E7=9A=84=E6=94=B9= =E9=80=B2=E3=80=82=E5=AE=83=E9=82=84=E5=8F=AF =E4=BB=A5=E6=96=B9=E4=BE=BF=E5=9C=B0=E6=8E=92=E5=BA=8F ``#include`` =EF=BC= =8C=E5=B0=8D=E9=BD=8A=E8=AE=8A=E9=87=8F/=E5=AE=8F=EF=BC=8C=E9=87=8D=E6=8E= =92=E6=96=87=E6=9C=AC=E5=92=8C=E5=85=B6=E4=BB=96=E9=A1=9E=E4=BC=BC=E4=BB=BB= =E5=8B=99=E3=80=82 -=E8=A9=B3=E8=A6=8B Documentation/process/clang-format.rst =E3=80=82 +=E8=A9=B3=E8=A6=8B Documentation/dev-tools/clang-format.rst =E3=80=82 =20 =20 10) Kconfig =E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6 --=20 2.39.2