From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Luka Gejak <lukagejak5@gmail.com>
Cc: Dan Carpenter <dan.carpenter@linaro.org>,
linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v1 5/5] staging: rtl8723bs: fix LONG_LINE warnings across C files
Date: Mon, 2 Feb 2026 09:36:11 +0100 [thread overview]
Message-ID: <2026020247-stubble-marlin-bfeb@gregkh> (raw)
In-Reply-To: <20260202070752.3391-6-lukagejak5@gmail.com>
On Mon, Feb 02, 2026 at 08:07:52AM +0100, Luka Gejak wrote:
> Refactor lines exceeding 100 characters to comply with kernel coding
> style. All changes preserve original logic and behavior.
>
> Techniques used:
> - Move trailing comments to separate lines above code
> - Break long function signatures across multiple lines
> - Extract complex expressions into named temp variables
> - Use scoped blocks for local variable declarations
> - Create pointer aliases for deeply nested struct accesses
> - Simplify compound conditionals with intermediate booleans
>
> Files modified:
> - core/: rtw_cmd.c, rtw_ieee80211.c, rtw_io.c, rtw_ioctl_set.c,
> rtw_mlme.c, rtw_mlme_ext.c, rtw_pwrctrl.c, rtw_recv.c,
> rtw_security.c, rtw_wlan_util.c, rtw_xmit.c
> - hal/: HalBtc8723b1Ant.c, HalBtc8723b2Ant.c, HalPhyRf.c,
> HalPhyRf_8723B.c, hal_com.c, hal_com_phycfg.c, hal_intf.c,
> hal_sdio.c, odm.c, odm_DIG.c, odm_HWConfig.c, rtl8723b_cmd.c,
> rtl8723b_hal_init.c, rtl8723b_phycfg.c, rtl8723b_rf6052.c,
> rtl8723bs_recv.c, rtl8723bs_xmit.c, sdio_halinit.c
> - os_dep/: ioctl_cfg80211.c, os_intfs.c, sdio_intf.c, xmit_linux.c
>
> Signed-off-by: Luka Gejak <lukagejak5@gmail.com>
> ---
> drivers/staging/rtl8723bs/core/rtw_cmd.c | 142 ++---
> .../staging/rtl8723bs/core/rtw_ieee80211.c | 36 +-
> drivers/staging/rtl8723bs/core/rtw_io.c | 4 +-
> .../staging/rtl8723bs/core/rtw_ioctl_set.c | 16 +-
> drivers/staging/rtl8723bs/core/rtw_mlme.c | 103 ++--
> drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 492 ++++++++++++------
> drivers/staging/rtl8723bs/core/rtw_pwrctrl.c | 3 +-
> drivers/staging/rtl8723bs/core/rtw_recv.c | 123 +++--
> drivers/staging/rtl8723bs/core/rtw_security.c | 11 +-
> .../staging/rtl8723bs/core/rtw_wlan_util.c | 215 +++++---
> drivers/staging/rtl8723bs/core/rtw_xmit.c | 62 ++-
> .../staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 35 +-
> .../staging/rtl8723bs/hal/HalBtc8723b2Ant.c | 29 +-
> drivers/staging/rtl8723bs/hal/HalPhyRf.c | 36 +-
> .../staging/rtl8723bs/hal/HalPhyRf_8723B.c | 166 ++++--
> drivers/staging/rtl8723bs/hal/hal_com.c | 10 +-
> .../staging/rtl8723bs/hal/hal_com_phycfg.c | 22 +-
> drivers/staging/rtl8723bs/hal/hal_intf.c | 4 +-
> drivers/staging/rtl8723bs/hal/hal_sdio.c | 4 +-
> drivers/staging/rtl8723bs/hal/odm.c | 18 +-
> drivers/staging/rtl8723bs/hal/odm_DIG.c | 38 +-
> drivers/staging/rtl8723bs/hal/odm_HWConfig.c | 17 +-
> drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 103 +++-
> .../staging/rtl8723bs/hal/rtl8723b_hal_init.c | 64 ++-
> .../staging/rtl8723bs/hal/rtl8723b_phycfg.c | 54 +-
> .../staging/rtl8723bs/hal/rtl8723b_rf6052.c | 6 +-
> .../staging/rtl8723bs/hal/rtl8723bs_recv.c | 6 +-
> .../staging/rtl8723bs/hal/rtl8723bs_xmit.c | 5 +-
> drivers/staging/rtl8723bs/hal/sdio_halinit.c | 17 +-
> .../staging/rtl8723bs/os_dep/ioctl_cfg80211.c | 134 +++--
> drivers/staging/rtl8723bs/os_dep/os_intfs.c | 17 +-
> drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 3 +-
> drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 8 +-
> 33 files changed, 1364 insertions(+), 639 deletions(-)
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 did many different things all at once, making it difficult
to review. All Linux kernel patches need to only do one thing at a
time. If you need to do multiple things (such as clean up all coding
style issues in a file/driver), do it in a sequence of patches, each
one doing only one thing. This will make it easier to review the
patches to ensure that they are correct, and to help alleviate any
merge issues that larger patches can cause.
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
prev parent reply other threads:[~2026-02-02 8:36 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-02 7:07 [PATCH v1 0/5] staging: rtl8723bs: code cleanup and style fixes Luka Gejak
2026-02-02 7:07 ` [PATCH v1 1/5] staging: rtl8723bs: remove unused code for other Realtek chips Luka Gejak
2026-02-02 8:36 ` Greg Kroah-Hartman
2026-02-02 7:07 ` [PATCH v1 2/5] staging: rtl8723bs: convert PSTA_INFO_T to struct sta_info * Luka Gejak
2026-02-02 7:07 ` [PATCH v1 3/5] staging: rtl8723bs: remove NDIS type aliases Luka Gejak
2026-02-02 7:07 ` [PATCH v1 4/5] staging: rtl8723bs: remove redundant MAC_ARG macro Luka Gejak
2026-02-02 7:07 ` [PATCH v1 5/5] staging: rtl8723bs: fix LONG_LINE warnings across C files Luka Gejak
2026-02-02 8:35 ` Greg Kroah-Hartman
2026-02-02 8:36 ` Greg Kroah-Hartman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2026020247-stubble-marlin-bfeb@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=dan.carpenter@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=lukagejak5@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox