On Thu, Mar 13, 2025 at 11:20:51AM +0100, Matthieu Baerts (NGI0) wrote:
> From: Geliang Tang <tanggeli...@kylinos.cn>
> 
> Instead of using kmalloc() or kzalloc() to allocate an entry and
> then immediately duplicate another entry to the newly allocated
> one, kmemdup() helper can be used to simplify the code.
> 
> Signed-off-by: Geliang Tang <tanggeli...@kylinos.cn>
> Reviewed-by: Matthieu Baerts (NGI0) <matt...@kernel.org>
> Signed-off-by: Matthieu Baerts (NGI0) <matt...@kernel.org>

Reviewed-by: Simon Horman <ho...@kernel.org>


Reply via email to