lkml.org 
[lkml]   [2021]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] btrfs: zoned: Use kmemdup() to replace kmalloc + memcpy
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@inspur.com>

Added to misc-next, thanks.

\
 
 \ /
  Last update: 2021-10-06 14:18    [W:0.052 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site