From: Paul McQuade <paulmcquad@gmail.com>
To: paulmcquad@gmail.com
Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org,
linux-wireless@vger.kernel.org, gdonald@gmail.com,
gregkh@linuxfoundation.org, Jes.Sorensen@redhat.com,
Larry.Finger@lwfinger.net
Subject: [PATCH 2/2] staging: rtl8723au: core style issue
Date: Mon, 27 Oct 2014 00:16:08 +0000 [thread overview]
Message-ID: <1414368968-9841-1-git-send-email-paulmcquad@gmail.com> (raw)
spaces required around %
Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
---
drivers/staging/rtl8723au/core/rtw_recv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723au/core/rtw_recv.c b/drivers/staging/rtl8723au/core/rtw_recv.c
index 5bc7734..6343d49a 100644
--- a/drivers/staging/rtl8723au/core/rtw_recv.c
+++ b/drivers/staging/rtl8723au/core/rtw_recv.c
@@ -2381,7 +2381,7 @@ void rtw_signal_stat_timer_hdl23a(unsigned long data)
if (!check_fwstate(&adapter->mlmepriv, _FW_UNDER_SURVEY)) {
tmp_s = (avg_signal_strength + (_alpha - 1) *
recvpriv->signal_strength);
- if (tmp_s %_alpha)
+ if (tmp_s % _alpha)
tmp_s = tmp_s / _alpha + 1;
else
tmp_s = tmp_s / _alpha;
@@ -2390,7 +2390,7 @@ void rtw_signal_stat_timer_hdl23a(unsigned long data)
tmp_q = (avg_signal_qual + (_alpha - 1) *
recvpriv->signal_qual);
- if (tmp_q %_alpha)
+ if (tmp_q % _alpha)
tmp_q = tmp_q / _alpha + 1;
else
tmp_q = tmp_q / _alpha;
--
1.9.1
next reply other threads:[~2014-10-27 0:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 0:16 Paul McQuade [this message]
2014-10-29 9:35 ` [PATCH 2/2] staging: rtl8723au: core style issue Greg KH
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=1414368968-9841-1-git-send-email-paulmcquad@gmail.com \
--to=paulmcquad@gmail.com \
--cc=Jes.Sorensen@redhat.com \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=gdonald@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
/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