[PATCH] module: Add comment explaining purpose of module_decompress.c

From: Mishchneko Sergey
Date: Fri Jun 20 2025 - 07:32:24 EST


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@xxxxxxxxx>
From fbd707100aa29a88ccb255532f26ec1baa01a4f1 Mon Sep 17 00:00:00 2001
From: Mishchenko Sergey <sergey994049@xxxxxxxxx>
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@xxxxxxxxx>
---
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