Re: [PATCH v2] staging: rtl8723bs: Use kmemdup in sdio_ops.c

From: Dan Carpenter

Date: Mon Feb 23 2026 - 00:49:53 EST


On Sat, Feb 21, 2026 at 05:39:34PM +0400, Giorgi Tchankvetadze wrote:
> Replace kmalloc() + memcpy() with kmemdup() to simplify the code.
> No functional change.
>
> Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@xxxxxxxxx>
> ---
> Changes in v2: Remove leftover blank line (suggested by Dan Carpenter)
>

Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

regards,
dan carpenter