Messages in this thread | | | Date | Tue, 3 Sep 2019 09:25:32 -0400 | From | Bob Copeland <> | Subject | Re: [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/
| |