Re: [PATCH v4] staging: rtl8723bs: replace alloc+memcpy with kmemdup
From: Greg KH
Date: Wed Mar 04 2026 - 09:49:17 EST
On Wed, Mar 04, 2026 at 02:59:14PM +0100, Alexandru Hossu wrote:
> Replace open-coded alloc+memcpy patterns with kmemdup().
>
> This simplifies the code and avoids manual size/copy handling.
>
> Signed-off-by: Alexandru Hossu <hossu.alexandru@xxxxxxxxx>
>
> v4:
> - Drop unrelated DT binding changes from earlier attempts.
> - Include both rtl8723bs changes in one staging-only patch.
> - Wrap long line reported by checkpatch.
>
> ---
> drivers/staging/rtl8723bs/hal/sdio_ops.c | 3 +--
> drivers/staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 3 +--
> 2 files changed, 2 insertions(+), 4 deletions(-)
Please slow down and read the documentation that my bot pointed you at.
The version information here is not done properly :(