From: Rob Gill <rrobgill@protonmail.com>
To: linux-mm@kvack.org
Cc: Rob Gill <rrobgill@protonmail.com>
Subject: [PATCH] mm Add MODULE_DESCRIPTION entries to kernel modules
Date: Sun, 21 Jun 2020 06:31:14 +0000 [thread overview]
Message-ID: <20200621063101.16260-1-rrobgill@protonmail.com> (raw)
The user tool modinfo is used to get information on kernel modules, including a
description where it is available.
This patch adds a brief MODULE_DESCRIPTION to the following kernel modules:
hwpoison-inject
zsmalloc
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
---
mm/hwpoison-inject.c | 1 +
mm/zsmalloc.c | 1 +
2 files changed, 2 insertions(+)
diff --git a/mm/hwpoison-inject.c b/mm/hwpoison-inject.c
index e488876b1..d506945b6 100644
--- a/mm/hwpoison-inject.c
+++ b/mm/hwpoison-inject.c
@@ -116,3 +116,4 @@ static int pfn_inject_init(void)
module_init(pfn_inject_init);
module_exit(pfn_inject_exit);
MODULE_LICENSE("GPL");
+MODULE_DESCRIPTION("hwpoison memory failure injector");
diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c
index 952a01e45..eb4d380c2 100644
--- a/mm/zsmalloc.c
+++ b/mm/zsmalloc.c
@@ -2592,3 +2592,4 @@ module_exit(zs_exit);
MODULE_LICENSE("Dual BSD/GPL");
MODULE_AUTHOR("Nitin Gupta <ngupta@vflare.org>");
+MODULE_DESCRIPTION("Slab-based memory allocator for compressed RAM pages");
--
2.17.1
next reply other threads:[~2020-06-21 6:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-21 6:31 Rob Gill [this message]
2020-06-22 9:00 ` David Hildenbrand
2020-06-22 9:26 ` HORIGUCHI NAOYA(堀口 直也)
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=20200621063101.16260-1-rrobgill@protonmail.com \
--to=rrobgill@protonmail.com \
--cc=linux-mm@kvack.org \
/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