[PATCH v1] jffs2: fix comment typo and adjust formatting
Zhihao Cheng
chengzhihao1 at huawei.com
Tue Jun 3 21:20:17 PDT 2025
在 2025/6/4 10:20, Baolin Liu 写道:
> From: Baolin Liu <liubaolin at kylinos.cn>
>
> 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 at kylinos.cn>
> ---
> fs/jffs2/build.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
Reviewed-by: Zhihao Cheng <chengzhihao1 at huawei.com>
> 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;
> }
>
>
More information about the linux-mtd
mailing list