On 9/22/20 6:21 AM, Julia Lawall wrote:
From: kernel test robot <l...@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 <l...@intel.com>
Signed-off-by: Julia Lawall <julia.law...@inria.fr>

Reviewed-by: Josef Bacik <jo...@toxicpanda.com>

Thanks,

Josef

Reply via email to