On Thu, Mar 13, 2025 at 11:20:51AM +0100, Matthieu Baerts (NGI0) wrote: > From: Geliang Tang <[email protected]> > > 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 <[email protected]> > Reviewed-by: Matthieu Baerts (NGI0) <[email protected]> > Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
