The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Dalvin-Ehinoma Noah Aiguobas <fliegbert2@gmail.com>
Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] staging: rtl8723bs: put logical continuation on previous line in rtw_mlme.c
Date: Tue, 7 Jul 2026 13:24:45 +0200	[thread overview]
Message-ID: <2026070721-education-deafness-e902@gregkh> (raw)
In-Reply-To: <ajf8qOpXZ9fFFczS@koolguy>

On Sun, Jun 21, 2026 at 03:00:56PM +0000, Dalvin-Ehinoma Noah Aiguobas wrote:
> Move logical operators from continuation lines to the previous line
> to conform to the linux kernel coding style.
> 
> Signed-off-by: Dalvin-Ehinoma Noah Aiguobas <fliegbert2@gmail.com>
> ---
>  drivers/staging/rtl8723bs/core/rtw_mlme.c | 23 +++++++++++------------
>  1 file changed, 11 insertions(+), 12 deletions(-)
> 
> diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme.c b/drivers/staging/rtl8723bs/core/rtw_mlme.c
> index 4fb74729180f..e3a17b5cbbf4 100644
> --- a/drivers/staging/rtl8723bs/core/rtw_mlme.c
> +++ b/drivers/staging/rtl8723bs/core/rtw_mlme.c
> @@ -342,8 +342,8 @@ bool rtw_is_same_ibss(struct adapter *adapter, struct wlan_network *pnetwork)
>  
>  inline int is_same_ess(struct wlan_bssid_ex *a, struct wlan_bssid_ex *b)
>  {
> -	return (a->ssid.ssid_length == b->ssid.ssid_length)
> -		&&  !memcmp(a->ssid.ssid, b->ssid.ssid, a->ssid.ssid_length);
> +	return (a->ssid.ssid_length == b->ssid.ssid_length) &&
> +		!memcmp(a->ssid.ssid, b->ssid.ssid, a->ssid.ssid_length);
>  }
>  
>  int is_same_network(struct wlan_bssid_ex *src, struct wlan_bssid_ex *dst, u8 feature)
> @@ -751,8 +751,8 @@ void rtw_surveydone_event_callback(struct adapter	*adapter, u8 *pbuf)
>  		}
>  	} else {
>  		if (rtw_chk_roam_flags(adapter, RTW_ROAM_ACTIVE)) {
> -			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE)
> -				&& check_fwstate(pmlmepriv, _FW_LINKED)) {
> +			if (check_fwstate(pmlmepriv, WIFI_STATION_STATE) &&
> +			    check_fwstate(pmlmepriv, _FW_LINKED)) {
>  				if (rtw_select_roaming_candidate(pmlmepriv) == _SUCCESS) {
>  					receive_disconnect(adapter, pmlmepriv->cur_network.network.mac_address
>  						, WLAN_REASON_ACTIVE_ROAM);
> @@ -925,8 +925,7 @@ void rtw_scan_abort(struct adapter *adapter)
>  
>  	start = jiffies;
>  	pmlmeext->scan_abort = true;
> -	while (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY)
> -		&& jiffies_to_msecs(start) <= 200) {
> +	while (check_fwstate(pmlmepriv, _FW_UNDER_SURVEY) && jiffies_to_msecs(start) <= 200) {

While it's great you made this change, it doesn't match up with what you
wrote in the description of the patch :(

thanks,

greg k-h

      reply	other threads:[~2026-07-07 11:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-21 15:00 [PATCH] staging: rtl8723bs: put logical continuation on previous line in rtw_mlme.c Dalvin-Ehinoma Noah Aiguobas
2026-07-07 11:24 ` Greg KH [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=2026070721-education-deafness-e902@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=fliegbert2@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    /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