On Tue, Sep 22, 2020 at 03:05:59PM +0100, Filipe Manana wrote:
On Tue, Sep 22, 2020 at 11:29 AM Julia Lawall
<julia.lawall(a)inria.fr> wrote:
>
> From: kernel test robot <lkp(a)intel.com>
>
> fs/btrfs/send.c:3854:8-15: WARNING opportunity for kmemdup
>
> Use kmemdup rather than duplicating its implementation
>
> Generated by: scripts/coccinelle/api/memdup.cocci
>
> Fixes: 28314eb24e6c ("btrfs: send, recompute reference path after orphanization
of a directory")
> Signed-off-by: kernel test robot <lkp(a)intel.com>
> Signed-off-by: Julia Lawall <julia.lawall(a)inria.fr>
Since this is not in Linus' tree yet, it can be folded in the original patch.
David, can you do that when you pick it?
Yes, I'll do that.
Btw, isn't the Fixes tag meant only for bug fixes? This is a
pure
cleanup afaics.
Agreed.