Re: [PATCH] btrfs: zoned: Use kmemdup() to replace kmalloc + memcpy

From: David Sterba
Date: Wed Oct 06 2021 - 08:17:57 EST


On Sun, Oct 03, 2021 at 04:06:56PM +0800, Kai Song wrote:
> fix memdup.cocci warning:
> fs/btrfs/zoned.c:1198:23-30: WARNING opportunity for kmemdup
>
> Signed-off-by: Kai Song <songkai01@xxxxxxxxxx>

Added to misc-next, thanks.