lkml.org 
[lkml]   [2019]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] fs: omfs: Use kmemdup rather than duplicating its implementation in omfs_get_imap
On Tue, Sep 03, 2019 at 02:39:44PM +0800, zhong jiang wrote:
> kmemdup contains the kmalloc + memcpy. hence it is better to use kmemdup
> directly. Just replace it.
>
> Signed-off-by: zhong jiang <zhongjiang@huawei.com>

This same patch was already sent to me by someone else and I acked it:

https://lore.kernel.org/lkml/20190703163158.937-1-huangfq.daxian@gmail.com/

--
Bob Copeland %% https://bobcopeland.com/

\
 
 \ /
  Last update: 2019-09-03 15:26    [W:0.031 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site