From: Bob Copeland <me@bobcopeland.com>
To: zhong jiang <zhongjiang@huawei.com>
Cc: linux-kernel@vger.kernel.org, Fuqian Huang <huangfq.daxian@gmail.com>
Subject: Re: [PATCH] fs: omfs: Use kmemdup rather than duplicating its implementation in omfs_get_imap
Date: Tue, 3 Sep 2019 09:25:32 -0400 [thread overview]
Message-ID: <20190903132532.GB5280@localhost> (raw)
In-Reply-To: <1567492784-19304-1-git-send-email-zhongjiang@huawei.com>
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/
next prev parent reply other threads:[~2019-09-03 13:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-03 6:39 [PATCH] fs: omfs: Use kmemdup rather than duplicating its implementation in omfs_get_imap zhong jiang
2019-09-03 13:25 ` Bob Copeland [this message]
2019-09-03 13:57 ` zhong jiang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190903132532.GB5280@localhost \
--to=me@bobcopeland.com \
--cc=huangfq.daxian@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=zhongjiang@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox