* Re: [PATCH] mm/damon: don't use strnlen() with known-bogus source length
[not found] <20210912204447.10427-1-kilobyte@angband.pl>
@ 2021-09-13 8:14 ` SeongJae Park
0 siblings, 0 replies; only message in thread
From: SeongJae Park @ 2021-09-13 8:14 UTC (permalink / raw)
To: Adam Borowski; +Cc: SeongJae Park, Andrew Morton, linux-mm
From: SeongJae Park <sjpark@amazon.de>
Hi Adam,
On Sun, 12 Sep 2021 22:44:47 +0200 Adam Borowski <kilobyte@angband.pl> wrote:
> gcc knows the true length too, and rightfully complains.
>
> Signed-off-by: Adam Borowski <kilobyte@angband.pl>
> ---
> mm/damon/dbgfs-test.h | 16 ++++++++--------
> 1 file changed, 8 insertions(+), 8 deletions(-)
Thank you for the patch, and the change looks good to me. However, I couldn't
cleanly apply the patch in a single step.
$ git am the_patch_adam.eml
Applying: mm/damon: don't use strnlen() with known-bogus source length
error: patch failed: mm/damon/dbgfs-test.h:20
error: mm/damon/dbgfs-test.h: patch does not apply
Patch failed at 0001 mm/damon: don't use strnlen() with known-bogus source length
Use 'git am --show-current-patch' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
I saved your mail to 'the_patch_adam.eml' directly from my inbox instead of
downloading it from lore using b4, as your mail doesn't appear on lore. If I'm
not missing something, coule you please double check and resend?
Thanks,
SJ
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-13 8:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20210912204447.10427-1-kilobyte@angband.pl>
2021-09-13 8:14 ` [PATCH] mm/damon: don't use strnlen() with known-bogus source length SeongJae Park
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox