Re: [PATCH] mm: remove the newlines, which are added for unknown reasons and interfere with bug analysis
From: Andrew Morton
Date: Mon Oct 07 2024 - 21:25:58 EST
On Mon, 7 Oct 2024 20:24:57 +0900 Jeongjun Park <aha310510@xxxxxxxxx> wrote:
> > > Since I cannot modify the source code printing function of the git.kernel.org
> > > site, the best solution I can suggest is to remove the unnecessary line break
> > > character that exists in all versions.
> >
> > I would recommend fixing the git.kernel.org code, it is all open source
> > and can be fixed up, as odds are other projects/repos would like to have
> > it fixed as well.
> >
>
> Oh, I just realized that this website is open source and written in C.
>
> This seems to be the correct git repository, so I'll commit here.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/zx2c4/cgit.git
Still, we don't want that newline in there. I did this as a little
cleanup. Please send a new (similar) patch if you're prefer.
From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Subject: mm/memory.c: remove stray newline at top of file
Date: Mon Oct 7 06:20:09 PM PDT 2024
Fixes: d61ea1cb0095 ("userfaultfd: UFFD_FEATURE_WP_ASYNC")
Reported-by: Jeongjun Park <aha310510@xxxxxxxxx>
Closes: https://lkml.kernel.org/r/20241007065307.4158-1-aha310510@xxxxxxxxx
Cc: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx>
Cc: Peter Xu <peterx@xxxxxxxxxx>
Cc: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---
mm/memory.c | 1 -
1 file changed, 1 deletion(-)
--- a/mm/memory.c~mm-memoryc-remove-stray-newline-at-top-of-file
+++ a/mm/memory.c
@@ -1,4 +1,3 @@
-
// SPDX-License-Identifier: GPL-2.0-only
/*
* linux/mm/memory.c
_