* [PATCH v4] staging: rtl8723bs: Place constant at the right.
@ 2017-07-07 10:37 Shreeya Patel
2017-07-18 5:05 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Shreeya Patel @ 2017-07-07 10:37 UTC (permalink / raw)
To: kernelnewbies
Move constant to the right of the relational operator to follow the pattern which is more common in kernel code".
Problem found by checkpatch.
Signed-off-by: Shreeya Patel <shreeya.patel23498@gmail.com>
---
Changes in v4:
-Make the commit message more appropriate.
drivers/staging/rtl8723bs/core/rtw_btcoex.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8723bs/core/rtw_btcoex.c b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
index 3c5cb78..01f78d1 100644
--- a/drivers/staging/rtl8723bs/core/rtw_btcoex.c
+++ b/drivers/staging/rtl8723bs/core/rtw_btcoex.c
@@ -55,7 +55,7 @@ void rtw_btcoex_ConnectNotify(struct adapter *padapter, u8 action)
void rtw_btcoex_MediaStatusNotify(struct adapter *padapter, u8 mediaStatus)
{
- if ((RT_MEDIA_CONNECT == mediaStatus)
+ if ((mediaStatus == RT_MEDIA_CONNECT)
&& (check_fwstate(&padapter->mlmepriv, WIFI_AP_STATE) == true)) {
rtw_hal_set_hwreg(padapter, HW_VAR_DL_RSVD_PAGE, NULL);
}
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH v4] staging: rtl8723bs: Place constant at the right.
2017-07-07 10:37 [PATCH v4] staging: rtl8723bs: Place constant at the right Shreeya Patel
@ 2017-07-18 5:05 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2017-07-18 5:05 UTC (permalink / raw)
To: kernelnewbies
On Fri, Jul 07, 2017 at 04:07:15PM +0530, Shreeya Patel wrote:
> Move constant to the right of the relational operator to follow the pattern which is more common in kernel code".
Please line-wrap your changelog text at the proper column that your
editor asks you to :)
thnaks,
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-18 5:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-07 10:37 [PATCH v4] staging: rtl8723bs: Place constant at the right Shreeya Patel
2017-07-18 5:05 ` 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).