public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] kernel-hacking documentation cleanup
@ 2025-12-23  3:52 Bagas Sanjaya
  2025-12-23  3:52 ` [PATCH 1/3] Documentation: kernel-hacking: Remove current macro annotation Bagas Sanjaya
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-12-23  3:52 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation
  Cc: Jonathan Corbet, Bagas Sanjaya, Thorsten Blum, Randy Dunlap

Hi,

Here are additional docs cleanup for kernel-hacking documentation. It
is based on Thorsten's :c:func: annotation removal [1].

Enjoy!

[1]: https://lore.kernel.org/linux-doc/20251222232506.2615-2-thorsten.blum@linux.dev/

Bagas Sanjaya (3):
  Documentation: kernel-hacking: Remove current macro annotation
  Documentation: kernel-hacking: Do not italicize EXPORT_SYMBOL{,_GPL}()
    references
  Documentation: kernel-hacking: Convert internal links

 Documentation/kernel-hacking/hacking.rst | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/3] Documentation: kernel-hacking: Remove current macro annotation
  2025-12-23  3:52 [PATCH 0/3] kernel-hacking documentation cleanup Bagas Sanjaya
@ 2025-12-23  3:52 ` Bagas Sanjaya
  2025-12-23  3:52 ` [PATCH 2/3] Documentation: kernel-hacking: Do not italicize EXPORT_SYMBOL{,_GPL}() references Bagas Sanjaya
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-12-23  3:52 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation
  Cc: Jonathan Corbet, Bagas Sanjaya, Thorsten Blum, Randy Dunlap

Remove unneeded :c:macro: annotation of current macro.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/kernel-hacking/hacking.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index bd5401b924427e..a5f7a1df7fb97d 100644
--- a/Documentation/kernel-hacking/hacking.rst
+++ b/Documentation/kernel-hacking/hacking.rst
@@ -345,8 +345,8 @@ routine.
 Before inventing your own cache of often-used objects consider using a
 slab cache in ``include/linux/slab.h``
 
-:c:macro:`current`
-------------------
+current
+-------
 
 Defined in ``include/asm/current.h``
 
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 2/3] Documentation: kernel-hacking: Do not italicize EXPORT_SYMBOL{,_GPL}() references
  2025-12-23  3:52 [PATCH 0/3] kernel-hacking documentation cleanup Bagas Sanjaya
  2025-12-23  3:52 ` [PATCH 1/3] Documentation: kernel-hacking: Remove current macro annotation Bagas Sanjaya
@ 2025-12-23  3:52 ` Bagas Sanjaya
  2025-12-23  3:52 ` [PATCH 3/3] Documentation: kernel-hacking: Convert internal links Bagas Sanjaya
  2026-01-06 22:09 ` [PATCH 0/3] kernel-hacking documentation cleanup Jonathan Corbet
  3 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-12-23  3:52 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation
  Cc: Jonathan Corbet, Bagas Sanjaya, Thorsten Blum, Randy Dunlap

Do not italicize EXPORT_SYMBOL() and EXPORT_SYMBOL_GPL() references in
EXPORT_SYMBOL_NS() and EXPORT_SYMBOL_NS_GPL() subsections.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/kernel-hacking/hacking.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index a5f7a1df7fb97d..1d120ff80f956c 100644
--- a/Documentation/kernel-hacking/hacking.rst
+++ b/Documentation/kernel-hacking/hacking.rst
@@ -597,7 +597,7 @@ EXPORT_SYMBOL_NS()
 
 Defined in ``include/linux/export.h``
 
-This is the variant of `EXPORT_SYMBOL()` that allows specifying a symbol
+This is the variant of EXPORT_SYMBOL() that allows specifying a symbol
 namespace. Symbol Namespaces are documented in
 Documentation/core-api/symbol-namespaces.rst
 
@@ -606,7 +606,7 @@ EXPORT_SYMBOL_NS_GPL()
 
 Defined in ``include/linux/export.h``
 
-This is the variant of `EXPORT_SYMBOL_GPL()` that allows specifying a symbol
+This is the variant of EXPORT_SYMBOL_GPL() that allows specifying a symbol
 namespace. Symbol Namespaces are documented in
 Documentation/core-api/symbol-namespaces.rst
 
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [PATCH 3/3] Documentation: kernel-hacking: Convert internal links
  2025-12-23  3:52 [PATCH 0/3] kernel-hacking documentation cleanup Bagas Sanjaya
  2025-12-23  3:52 ` [PATCH 1/3] Documentation: kernel-hacking: Remove current macro annotation Bagas Sanjaya
  2025-12-23  3:52 ` [PATCH 2/3] Documentation: kernel-hacking: Do not italicize EXPORT_SYMBOL{,_GPL}() references Bagas Sanjaya
@ 2025-12-23  3:52 ` Bagas Sanjaya
  2026-01-06 22:09 ` [PATCH 0/3] kernel-hacking documentation cleanup Jonathan Corbet
  3 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-12-23  3:52 UTC (permalink / raw)
  To: Linux Kernel Mailing List, Linux Documentation
  Cc: Jonathan Corbet, Bagas Sanjaya, Thorsten Blum, Randy Dunlap

Convert internal cross-references in "Putting Your Stuff in the kernel"
section from inline code to internal links.

Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
 Documentation/kernel-hacking/hacking.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/kernel-hacking/hacking.rst b/Documentation/kernel-hacking/hacking.rst
index 1d120ff80f956c..ef527bdc5f8daa 100644
--- a/Documentation/kernel-hacking/hacking.rst
+++ b/Documentation/kernel-hacking/hacking.rst
@@ -735,7 +735,7 @@ make a neat patch, there's administrative work to be done:
 -  Usually you want a configuration option for your kernel hack. Edit
    ``Kconfig`` in the appropriate directory. The Config language is
    simple to use by cut and paste, and there's complete documentation in
-   ``Documentation/kbuild/kconfig-language.rst``.
+   Documentation/kbuild/kconfig-language.rst.
 
    In your description of the option, make sure you address both the
    expert user and the user who knows nothing about your feature.
@@ -745,7 +745,7 @@ make a neat patch, there's administrative work to be done:
 
 -  Edit the ``Makefile``: the CONFIG variables are exported here so you
    can usually just add a "obj-$(CONFIG_xxx) += xxx.o" line. The syntax
-   is documented in ``Documentation/kbuild/makefiles.rst``.
+   is documented in Documentation/kbuild/makefiles.rst.
 
 -  Put yourself in ``CREDITS`` if you consider what you've done
    noteworthy, usually beyond a single file (your name should be at the
@@ -754,7 +754,7 @@ make a neat patch, there's administrative work to be done:
    it implies a more-than-passing commitment to some part of the code.
 
 -  Finally, don't forget to read
-   ``Documentation/process/submitting-patches.rst``
+   Documentation/process/submitting-patches.rst.
 
 Kernel Cantrips
 ===============
-- 
An old man doll... just what I always wanted! - Clara


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH 0/3] kernel-hacking documentation cleanup
  2025-12-23  3:52 [PATCH 0/3] kernel-hacking documentation cleanup Bagas Sanjaya
                   ` (2 preceding siblings ...)
  2025-12-23  3:52 ` [PATCH 3/3] Documentation: kernel-hacking: Convert internal links Bagas Sanjaya
@ 2026-01-06 22:09 ` Jonathan Corbet
  3 siblings, 0 replies; 5+ messages in thread
From: Jonathan Corbet @ 2026-01-06 22:09 UTC (permalink / raw)
  To: Bagas Sanjaya, Linux Kernel Mailing List, Linux Documentation
  Cc: Bagas Sanjaya, Thorsten Blum, Randy Dunlap

Bagas Sanjaya <bagasdotme@gmail.com> writes:

> Hi,
>
> Here are additional docs cleanup for kernel-hacking documentation. It
> is based on Thorsten's :c:func: annotation removal [1].
>
> Enjoy!
>
> [1]: https://lore.kernel.org/linux-doc/20251222232506.2615-2-thorsten.blum@linux.dev/
>
> Bagas Sanjaya (3):
>   Documentation: kernel-hacking: Remove current macro annotation
>   Documentation: kernel-hacking: Do not italicize EXPORT_SYMBOL{,_GPL}()
>     references
>   Documentation: kernel-hacking: Convert internal links
>
>  Documentation/kernel-hacking/hacking.rst | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)

Applied, thanks.

jon

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-01-06 22:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-23  3:52 [PATCH 0/3] kernel-hacking documentation cleanup Bagas Sanjaya
2025-12-23  3:52 ` [PATCH 1/3] Documentation: kernel-hacking: Remove current macro annotation Bagas Sanjaya
2025-12-23  3:52 ` [PATCH 2/3] Documentation: kernel-hacking: Do not italicize EXPORT_SYMBOL{,_GPL}() references Bagas Sanjaya
2025-12-23  3:52 ` [PATCH 3/3] Documentation: kernel-hacking: Convert internal links Bagas Sanjaya
2026-01-06 22:09 ` [PATCH 0/3] kernel-hacking documentation cleanup Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox