Messages in this thread | | | Date | Tue, 22 Sep 2020 16:39:49 +0200 | From | David Sterba <> | Subject | Re: [PATCH] btrfs: fix memdup.cocci warnings |
| |
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@inria.fr> wrote: > > > > From: kernel test robot <lkp@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@intel.com> > > Signed-off-by: Julia Lawall <julia.lawall@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.
| |