[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230811173014.4cf38c79@booty>
Date: Fri, 11 Aug 2023 17:30:14 +0200
From: Luca Ceresoli <luca.ceresoli@...tlin.com>
To: Li Zetao <lizetao1@...wei.com>
Cc: <arnd@...db.de>, <gregkh@...uxfoundation.org>,
<u.kleine-koenig@...gutronix.de>,
<wsa+renesas@...g-engineering.com>, <jdelvare@...e.de>,
<yuancan@...wei.com>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] misc: eeprom/idt_89hpesx: Use devm_kmemdup to
replace devm_kmalloc + memcpy
On Thu, 10 Aug 2023 19:50:49 +0800
Li Zetao <lizetao1@...wei.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@...wei.com>
Reviewed-by: Luca Ceresoli <luca.ceresoli@...tlin.com>
--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists