From: Punit Vara <punitvara@gmail.com>
To: Larry.Finger@lwfinger.net
Cc: florian.c.schilhabel@googlemail.com, gregkh@linuxfoundation.org,
devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
Punit Vara <punitvara@gmail.com>
Subject: [PATCH 08/11] Staging: rtl8712: rtl8712_cmd.c: Coding style warnings fix for block comments
Date: Thu, 8 Oct 2015 01:25:20 +0530 [thread overview]
Message-ID: <1444247723-10847-8-git-send-email-punitvara@gmail.com> (raw)
In-Reply-To: <1444247723-10847-1-git-send-email-punitvara@gmail.com>
This is patch to the rtl8712_cmd.c file that fixes up following warning
reported by checkpatch.pl :
-Block comments use a trailing */ on a separate line
Signed-off-by: Punit Vara <punitvara@gmail.com>
---
drivers/staging/rtl8712/rtl8712_cmd.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/staging/rtl8712/rtl8712_cmd.c b/drivers/staging/rtl8712/rtl8712_cmd.c
index 007f0a3..b755ab4 100644
--- a/drivers/staging/rtl8712/rtl8712_cmd.c
+++ b/drivers/staging/rtl8712/rtl8712_cmd.c
@@ -64,10 +64,12 @@ static void check_hw_pbc(struct _adapter *padapter)
return;
if (tmp1byte&HAL_8192S_HW_GPIO_WPS_BIT) {
/* Here we only set bPbcPressed to true
- * After trigger PBC, the variable will be set to false */
+ * After trigger PBC, the variable will be set to false
+ */
DBG_8712("CheckPbcGPIO - PBC is pressed !!!!\n");
/* 0 is the default value and it means the application monitors
- * the HW PBC doesn't provide its pid to driver. */
+ * the HW PBC doesn't provide its pid to driver.
+ */
if (padapter->pid == 0)
return;
kill_pid(find_vpid(padapter->pid), SIGUSR1, 1);
@@ -76,7 +78,8 @@ static void check_hw_pbc(struct _adapter *padapter)
/* query rx phy status from fw.
* Adhoc mode: beacon.
- * Infrastructure mode: beacon , data. */
+ * Infrastructure mode: beacon , data.
+ */
static void query_fw_rx_phy_status(struct _adapter *padapter)
{
u32 val32 = 0;
@@ -257,7 +260,8 @@ static struct cmd_obj *cmd_hdl_filter(struct _adapter *padapter,
/* Before set JoinBss_CMD to FW, driver must ensure FW is in
* PS_MODE_ACTIVE. Directly write rpwm to radio on and assign
* new pwr_mode to Driver, instead of use workitem to change
- * state. */
+ * state.
+ */
if (padapter->pwrctrlpriv.pwr_mode > PS_MODE_ACTIVE) {
padapter->pwrctrlpriv.pwr_mode = PS_MODE_ACTIVE;
_enter_pwrlock(&(padapter->pwrctrlpriv.lock));
--
2.5.3
next prev parent reply other threads:[~2015-10-07 19:56 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-07 19:55 [PATCH 01/11] Staging: rtl8712: drv_types.h:Coding style warnings fix for block comments Punit Vara
2015-10-07 19:55 ` [PATCH 02/11] Staging: rtl8712: hal_init.c: Coding " Punit Vara
2015-10-07 19:55 ` [PATCH 03/11] Staging: rtl8712: ieee80211.c: " Punit Vara
2015-10-07 19:55 ` [PATCH 04/11] Staging: rtl8712: ieee80211.h: " Punit Vara
2015-10-07 19:55 ` [PATCH 05/11] Staging: rtl8712: mlme_linux.c: " Punit Vara
2015-10-07 19:55 ` [PATCH 06/11] Staging: rtl8712: os_intfs.c : Coding style warning fix for block comment Punit Vara
2015-10-07 19:55 ` [PATCH 07/11] Staging: rtl8712: recv_linux.c: " Punit Vara
2015-10-07 19:55 ` Punit Vara [this message]
2015-10-07 19:55 ` [PATCH 09/11] Staging: rtl8712: rtl8712_cmdctrl_bitdef.h: " Punit Vara
2015-10-07 19:55 ` [PATCH 10/11] Staging: rtl8712: rtl8712_gp_bitdef.h: " Punit Vara
2015-10-07 19:55 ` [PATCH 11/11] Staging: rtl8712: rtl8712_hal.h: Coding style warnings fix for block comments Punit Vara
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=1444247723-10847-8-git-send-email-punitvara@gmail.com \
--to=punitvara@gmail.com \
--cc=Larry.Finger@lwfinger.net \
--cc=devel@driverdev.osuosl.org \
--cc=florian.c.schilhabel@googlemail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@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;
as well as URLs for NNTP newsgroup(s).