From: Marcos Paulo de Souza <mpdesouza@suse.com>
To: mcgrof@kernel.org, linux-modules@vger.kernel.org,
linux-kernel@vger.kernel.org, live-patching@vger.kernel.org,
linux-doc@vger.kernel.org, jpoimboe@kernel.org, mbenes@suse.cz,
joe.lawrence@redhat.com, corbet@lwn.net, pmladek@suse.com
Cc: Marcos Paulo de Souza <mpdesouza@suse.com>
Subject: [PATCH v2 1/2] module.h: Document klp_modinfo struct using kdoc
Date: Fri, 3 Feb 2023 09:22:21 -0300 [thread overview]
Message-ID: <20230203122222.1907-2-mpdesouza@suse.com> (raw)
In-Reply-To: <20230203122222.1907-1-mpdesouza@suse.com>
Previously the documentation existed only in Documentation/livepatch
directory.
Signed-off-by: Marcos Paulo de Souza <mpdesouza@suse.com>
---
include/linux/module.h | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/include/linux/module.h b/include/linux/module.h
index ec61fb53979a..3382ef8f66a8 100644
--- a/include/linux/module.h
+++ b/include/linux/module.h
@@ -352,6 +352,14 @@ struct mod_kallsyms {
};
#ifdef CONFIG_LIVEPATCH
+/**
+ * struct klp_modinfo - Elf information preserved from the livepatch module
+ *
+ * @hdr: Elf header
+ * @sechdrs: Section header table
+ * @secstrings: String table for the section headers
+ * @symndx: The symbol table section index
+ */
struct klp_modinfo {
Elf_Ehdr hdr;
Elf_Shdr *sechdrs;
--
2.39.1
next prev parent reply other threads:[~2023-02-03 12:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-03 12:22 [PATCH v2] Document klp_modinfo " Marcos Paulo de Souza
2023-02-03 12:22 ` Marcos Paulo de Souza [this message]
2023-02-03 12:22 ` [PATCH v2 2/2] Documentation: livepatch: module-elf-format: Remove local klp_modinfo definition Marcos Paulo de Souza
2023-02-06 17:09 ` [PATCH v2] Document klp_modinfo using kdoc Luis Chamberlain
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230203122222.1907-2-mpdesouza@suse.com \
--to=mpdesouza@suse.com \
--cc=corbet@lwn.net \
--cc=joe.lawrence@redhat.com \
--cc=jpoimboe@kernel.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-modules@vger.kernel.org \
--cc=live-patching@vger.kernel.org \
--cc=mbenes@suse.cz \
--cc=mcgrof@kernel.org \
--cc=pmladek@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®