* [PATCH] module: Add comment explaining purpose of module_decompress.c
@ 2025-06-20 11:32 Mishchneko Sergey
0 siblings, 0 replies; only message in thread
From: Mishchneko Sergey @ 2025-06-20 11:32 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
Hi,
This patch adds a header comment to kernel/module/decompress.c to
clarify its purpose.
The file handles decompression of loadable kernel modules using multiple
formats (gzip, xz, zstd), and this comment helps new contributors
understand the role of this file more easily.
Signed-off-by: Mishchenko Sergey <sergey994049@gmail.com>
[-- Attachment #2: 0001-module-Add-comment-explaining-purpose-of-module_deco.patch --]
[-- Type: text/x-patch, Size: 1046 bytes --]
From fbd707100aa29a88ccb255532f26ec1baa01a4f1 Mon Sep 17 00:00:00 2001
From: Mishchenko Sergey <sergey994049@gmail.com>
Date: Fri, 20 Jun 2025 20:18:05 +0900
Subject: [PATCH] module: Add comment explaining purpose of module_decompress.c
This adds a descriptive comment at the top of module_decompress.c,
clarifying that it handles decompression of loadable kernel modules
using gzip, xz, or zstd, and integrates with the kernel module loader.
Signed-off-by: Mishchenko Sergey <sergey994049@gmail.com>
---
kernel/module/decompress.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/kernel/module/decompress.c b/kernel/module/decompress.c
index 474e68f0f..35e37e7e1 100644
--- a/kernel/module/decompress.c
+++ b/kernel/module/decompress.c
@@ -1,5 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-or-later
/*
+ * Support for decompressing loadable kernel modules.
+ * Handles multiple compression formats (gzip, xz, zstd) and integrates
+ * with the kernel module loading infrastructure.
+ *
* Copyright 2021 Google LLC.
*/
--
2.50.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-06-20 11:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-20 11:32 [PATCH] module: Add comment explaining purpose of module_decompress.c Mishchneko Sergey
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®