Re: [PATCH] staging: rtl8723bs: fix line length in rtw_cmd.c

From: Greg KH

Date: Sun Apr 26 2026 - 03:03:59 EST


On Sun, Apr 26, 2026 at 02:41:38PM +0800, Lettice up wrote:
> From: Lettice <minecraftwemmne@xxxxxxxxx>
>
> Date: Sun, 26 Apr 2026 00:49:40 -0400
>
> Subject: [PATCH] staging: rtl8723bs: fix line length in rtw_cmd.c
>
>
> Fix a checkpatch.pl warning where a line exceeds 100 columns
>
> by breaking the long memcpy() call into two lines.
>
>
> Signed-off-by: Lettice <minecraftwemmne@xxxxxxxxx>
>
> ---
>
> drivers/staging/rtl8723bs/core/rtw_cmd.c | 3 ++-
>
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
>
> diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c
> b/drivers/staging/rtl8723bs/core/rtw_cmd.c
>
> index c1185c25ed36..50662d44a4b6 100644
>
> --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c
>
> +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c
>
> @@ -557,7 +557,8 @@ u8 rtw_sitesurvey_cmd(struct adapter *padapter,
> struct ndis_802_11_ssid *ssid,
>
>
>
> for (i = 0; i < ssid_num && i < RTW_SSID_SCAN_AMOUNT; i++) {
>
> if (ssid[i].ssid_length) {
>
> - memcpy(&psurveyPara->ssid[i],
> &ssid[i], sizeof(struct ndis_802_11_ssid));
>
> + memcpy(&psurveyPara->ssid[i], &ssid[i],
>
> + sizeof(struct ndis_802_11_ssid));
>
> psurveyPara->ssid_num++;
>
> }
>
> }
>
> --
>
> 2.53.0
>

Hi,

This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.

You are receiving this message because of the following common error(s)
as indicated below:

- Your patch is malformed (tabs converted to spaces, linewrapped, etc.)
and can not be applied. Please read the file,
Documentation/process/email-clients.rst in order to fix this.

- It looks like you did not use your "real" name for the patch on either
the Signed-off-by: line, or the From: line (both of which have to
match). Please read the kernel file,
Documentation/process/submitting-patches.rst for how to do this
correctly.

If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.

thanks,

greg k-h's patch email bot