A mirror of the official Linux kernel repository just in case
Go to file
David Vernet e368cd7288 Documentation: livepatch: Add livepatch API page
The livepatch subsystem has several exported functions and objects with
kerneldoc comments. Though the livepatch documentation contains handwritten
descriptions of all of these exported functions, they are currently not
pulled into the docs build using the kernel-doc directive.

In order to allow readers of the documentation to see the full kerneldoc
comments in the generated documentation files, this change adds a new
Documentation/livepatch/api.rst page which contains kernel-doc directives
to link the kerneldoc comments directly in the documentation.  With this,
all of the hand-written descriptions of the APIs now cross-reference the
kerneldoc comments on the new Livepatching APIs page, and running
./scripts/find-unused-docs.sh on kernel/livepatch no longer shows any files
as missing documentation.

Note that all of the handwritten API descriptions were left alone with the
exception of Documentation/livepatch/system-state.rst, which was updated to
allow the cross-referencing to work correctly. The file now follows the
cross-referencing formatting guidance specified in
Documentation/doc-guide/kernel-doc.rst. Furthermore, some comments around
klp_shadow_free_all() were updated to say <_, id> rather than <*, id> to
match the rest of the file, and to prevent the docs build from emitting an
"Inline emphasis start-string without end string" error.

Signed-off-by: David Vernet <void@manifault.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20211221145743.4098360-1-void@manifault.com
2021-12-23 11:35:53 +01:00
arch Merge branch 'stable/for-linus-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb 2021-09-03 10:34:44 -07:00
block Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
certs certs: Add support for using elliptic curve keys for signing modules 2021-08-23 19:55:42 +03:00
crypto Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2021-08-30 12:57:10 -07:00
Documentation Documentation: livepatch: Add livepatch API page 2021-12-23 11:35:53 +01:00
drivers IOMMU Updates for Linux v5.15 2021-09-03 10:44:35 -07:00
fs Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
include IOMMU Updates for Linux v5.15 2021-09-03 10:44:35 -07:00
init printk changes for 5.15 2021-09-01 18:41:13 -07:00
ipc memcg: enable accounting of ipc resources 2021-09-03 09:58:12 -07:00
kernel Documentation: livepatch: Add livepatch API page 2021-12-23 11:35:53 +01:00
lib Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
LICENSES LICENSES/dual/CC-BY-4.0: Git rid of "smart quotes" 2021-07-15 06:31:24 -06:00
mm Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
net TTY / Serial patches for 5.15-rc1 2021-09-01 09:51:16 -07:00
samples VFIO update for v5.15-rc1 2021-09-02 13:41:33 -07:00
scripts VFIO update for v5.15-rc1 2021-09-02 13:41:33 -07:00
security Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
sound parisc architecture updates for kernel 5.15: 2021-09-02 13:16:00 -07:00
tools Merge branch 'akpm' (patches from Andrew) 2021-09-03 10:08:28 -07:00
usr
virt KVM: Do not leak memory for duplicate debugfs directories 2021-08-04 06:02:03 -04:00
.clang-format
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap mailmap: update email address of Matthias Fuchs and Thomas Körper 2021-08-19 09:39:44 +02:00
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS IOMMU Updates for Linux v5.15 2021-09-03 10:44:35 -07:00
Makefile parisc architecture updates for kernel 5.15: 2021-09-02 13:16:00 -07:00
README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.