kernel-hacking documentation cleanup
cover kernel-hacking documentation cleanup
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/[email protected]/
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(-)
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 1/3 Documentation: kernel-hacking: Remove current macro annotation
Remove unneeded :c:macro: annotation of current macro.
--- Documentation/kernel-hacking/hacking.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/kernel-hacking/hacking.rst +2 -2
@@ -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``
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 2/3 Documentation: kernel-hacking: Do not italicize EXPORT_SYMBOL{,_GPL}() references
In reply to Bagas SanjayaDo not italicize EXPORT_SYMBOL() and EXPORT_SYMBOL_GPL() references in EXPORT_SYMBOL_NS() and EXPORT_SYMBOL_NS_GPL() subsections.
--- Documentation/kernel-hacking/hacking.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/kernel-hacking/hacking.rst +2 -2
@@ -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
Signature · 1 line
An old man doll... just what I always wanted! - Clara
PATCH 3/3 Documentation: kernel-hacking: Convert internal links
In reply to Bagas SanjayaConvert internal cross-references in "Putting Your Stuff in the kernel" section from inline code to internal links.
--- Documentation/kernel-hacking/hacking.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/kernel-hacking/hacking.rst +3 -3
@@ -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 ===============
Signature · 1 line
An old man doll... just what I always wanted! - Clara
Quoted 9 lines · Bagas Sanjaya
Hi,
Here are additional docs cleanup for kernel-hacking documentation. It is based on Thorsten's :c:func: annotation removal [1].
Enjoy!
Quoted 8 lines
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 linksDocumentation/kernel-hacking/hacking.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-)
Applied, thanks.
jon