Re: [PATCH] mm/damon: don't use strnlen() with known-bogus source length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: SeongJae Park <sjpark@xxxxxxxxx>

Hi Adam,

On Sun, 12 Sep 2021 22:44:47 +0200 Adam Borowski <kilobyte@xxxxxxxxxx> wrote:

> gcc knows the true length too, and rightfully complains.
> 
> Signed-off-by: Adam Borowski <kilobyte@xxxxxxxxxx>
> ---
>  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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux