* [PATCH] staging: rtl8723bs: os_dep: fix coding style issue in xmit_linux.c
@ 2020-08-02 18:56 Mohammed Rushad
2020-08-18 14:04 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Mohammed Rushad @ 2020-08-02 18:56 UTC (permalink / raw)
To: gregkh, vkor, hdegoede, Larry.Finger, john.oldman, yanaijie
Cc: devel, linux-kernel
This is a patch to the xmit_linux.c file that fixes brace and missing
line warning found by checkpatch.pl tool
Signed-off-by: Mohammed Rushad <mohammedrushad@gmail.com>
---
drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
index fec8a8caaa46..b199d355e568 100644
--- a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
+++ b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
@@ -148,13 +148,13 @@ static int rtw_mlcst2unicst(struct adapter *padapter, struct sk_buff *skb)
/* free sta asoc_queue */
while (phead != plist) {
int stainfo_offset;
+
psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list);
plist = get_next(plist);
stainfo_offset = rtw_stainfo_offset(pstapriv, psta);
- if (stainfo_offset_valid(stainfo_offset)) {
+ if (stainfo_offset_valid(stainfo_offset))
chk_alive_list[chk_alive_num++] = stainfo_offset;
- }
}
spin_unlock_bh(&pstapriv->asoc_list_lock);
--
2.17.1
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: rtl8723bs: os_dep: fix coding style issue in xmit_linux.c
2020-08-02 18:56 [PATCH] staging: rtl8723bs: os_dep: fix coding style issue in xmit_linux.c Mohammed Rushad
@ 2020-08-18 14:04 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2020-08-18 14:04 UTC (permalink / raw)
To: Mohammed Rushad
Cc: devel, vkor, yanaijie, linux-kernel, hdegoede, john.oldman, Larry.Finger
On Mon, Aug 03, 2020 at 12:26:44AM +0530, Mohammed Rushad wrote:
> This is a patch to the xmit_linux.c file that fixes brace and missing
> line warning found by checkpatch.pl tool
>
> Signed-off-by: Mohammed Rushad <mohammedrushad@gmail.com>
> ---
> drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
> index fec8a8caaa46..b199d355e568 100644
> --- a/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
> +++ b/drivers/staging/rtl8723bs/os_dep/xmit_linux.c
> @@ -148,13 +148,13 @@ static int rtw_mlcst2unicst(struct adapter *padapter, struct sk_buff *skb)
> /* free sta asoc_queue */
> while (phead != plist) {
> int stainfo_offset;
> +
> psta = LIST_CONTAINOR(plist, struct sta_info, asoc_list);
> plist = get_next(plist);
>
> stainfo_offset = rtw_stainfo_offset(pstapriv, psta);
> - if (stainfo_offset_valid(stainfo_offset)) {
> + if (stainfo_offset_valid(stainfo_offset))
> chk_alive_list[chk_alive_num++] = stainfo_offset;
> - }
> }
> spin_unlock_bh(&pstapriv->asoc_list_lock);
>
As trivial as it is, this is still two different things in a single
patch :(
If this was the last remaining issue in this file, I might consider it,
but it isn't, so please break up your changes into
one-type-of-change-per-patch.
thanks,
greg k-h
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-18 14:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-02 18:56 [PATCH] staging: rtl8723bs: os_dep: fix coding style issue in xmit_linux.c Mohammed Rushad
2020-08-18 14:04 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).