From: Luca Ceresoli <luca.ceresoli@bootlin.com>
To: Li Zetao <lizetao1@huawei.com>
Cc: <arnd@arndb.de>, <gregkh@linuxfoundation.org>,
<u.kleine-koenig@pengutronix.de>,
<wsa+renesas@sang-engineering.com>, <jdelvare@suse.de>,
<yuancan@huawei.com>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next] misc: eeprom/idt_89hpesx: Use devm_kmemdup to replace devm_kmalloc + memcpy
Date: Fri, 11 Aug 2023 17:30:14 +0200 [thread overview]
Message-ID: <20230811173014.4cf38c79@booty> (raw)
In-Reply-To: <20230810115049.2104099-1-lizetao1@huawei.com>
On Thu, 10 Aug 2023 19:50:49 +0800
Li Zetao <lizetao1@huawei.com> wrote:
> Use the helper function devm_kmemdup() rather than duplicating its
> implementation, which helps to enhance code readability.
>
> Signed-off-by: Li Zetao <lizetao1@huawei.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2023-08-11 15:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-10 11:50 [PATCH -next] misc: eeprom/idt_89hpesx: Use devm_kmemdup to replace devm_kmalloc + memcpy Li Zetao
2023-08-11 15:30 ` Luca Ceresoli [this message]
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=20230811173014.4cf38c79@booty \
--to=luca.ceresoli@bootlin.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=jdelvare@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lizetao1@huawei.com \
--cc=u.kleine-koenig@pengutronix.de \
--cc=wsa+renesas@sang-engineering.com \
--cc=yuancan@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