Re: [PATCH v1] jffs2: fix comment typo and adjust formatting

From: Zhihao Cheng
Date: Wed Jun 04 2025 - 00:20:30 EST


在 2025/6/4 10:20, Baolin Liu 写道:
From: Baolin Liu <liubaolin@xxxxxxxxxx>

This commit makes two documentation improvements:
1. Fixes spelling of "coresponding" to "corresponding"
2. Adjusts comment formatting to meet kernel style guidelines by:
- Breaking long lines to fit 80-column limit
- Aligning asterisks in multi-line comments
- Improving readability while preserving original meaning

No functional changes.

Signed-off-by: Baolin Liu <liubaolin@xxxxxxxxxx>
---
fs/jffs2/build.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)


Reviewed-by: Zhihao Cheng <chengzhihao1@xxxxxxxxxx>
diff --git a/fs/jffs2/build.c b/fs/jffs2/build.c
index 6ae9d6fefb86..1e651d3dcef3 100644
--- a/fs/jffs2/build.c
+++ b/fs/jffs2/build.c
@@ -185,8 +185,10 @@ static int jffs2_build_filesystem(struct jffs2_sb_info *c)
* one. */
if (fd->type == DT_DIR) {
if (!fd->ic) {
- /* We'll have complained about it and marked the coresponding
- raw node obsolete already. Just skip it. */
+ /* We'll have complained about it
+ * and marked the corresponding raw node obsolete already.
+ * Just skip it.
+ */
continue;
}