* [PATCH 1/1] Staging: vt6655: fix brace coding style issue in ioctl.c
@ 2010-04-02 9:59 NG KIAN YONG
0 siblings, 0 replies; 2+ messages in thread
From: NG KIAN YONG @ 2010-04-02 9:59 UTC (permalink / raw)
To: gregkh, lieb, forest, andre.goddard; +Cc: devel, linux-kernel, ngky
>From f7413706dd9b5fc217aa738bb48d36b46ab65a98 Mon Sep 17 00:00:00 2001
From: Ng Kian Yong <ngky@comp.nus.edu.sg>
Date: Fri, 2 Apr 2010 17:20:06 +0800
Subject: [PATCH 1/1] Staging: vt6655: fix brace coding style issue in ioctl.c
This is a patch to the ioctl.c file that fixes up a brace warning found by the checkpatch.pl tool
Signed-off-by: Ng Kian Yong <ngky@comp.nus.edu.sg>
---
drivers/staging/vt6655/ioctl.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/vt6655/ioctl.c b/drivers/staging/vt6655/ioctl.c
index d9a5fd2..a15b953 100644
--- a/drivers/staging/vt6655/ioctl.c
+++ b/drivers/staging/vt6655/ioctl.c
@@ -54,14 +54,14 @@ static int msglevel =MSG_LEVEL_INFO;
/*--------------------- Export Variables --------------------------*/
-int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
-
- PSCmdRequest pReq = (PSCmdRequest)rq;
+int private_ioctl(PSDevice pDevice, struct ifreq *rq)
+{
+ PSCmdRequest pReq = (PSCmdRequest)rq;
PSMgmtObject pMgmt = pDevice->pMgmt;
- int result = 0;
+ int result = 0;
PWLAN_IE_SSID pItemSSID;
SCmdBSSJoin sJoinCmd;
- SCmdZoneTypeSet sZoneTypeCmd;
+ SCmdZoneTypeSet sZoneTypeCmd;
SCmdScan sScanCmd;
SCmdStartAP sStartAPCmd;
SCmdSetWEP sWEPCmd;
@@ -83,7 +83,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
pReq->wResult = 0;
- switch(pReq->wCmdCode) {
+ switch (pReq->wCmdCode) {
case WLAN_CMD_BSS_SCAN:
--
1.6.6.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] Staging: vt6655: fix brace coding style issue in ioctl.c
@ 2010-04-02 9:49 NG KIAN YONG
0 siblings, 0 replies; 2+ messages in thread
From: NG KIAN YONG @ 2010-04-02 9:49 UTC (permalink / raw)
To: gregkh, lieb, forest, andre.goddard; +Cc: devel, linux-kernel
>From f7413706dd9b5fc217aa738bb48d36b46ab65a98 Mon Sep 17 00:00:00 2001
From: Ng Kian Yong <ngky@comp.nus.edu.sg>
Date: Fri, 2 Apr 2010 17:20:06 +0800
Subject: [PATCH 1/1] Staging: vt6655: fix brace coding style issue in ioctl.c
This is a patch to the ioctl.c file that fixes up a brace warning found by the checkpatch.pl tool
Signed-off-by: Ng Kian Yong <ngky@comp.nus.edu.sg>
---
drivers/staging/vt6655/ioctl.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/staging/vt6655/ioctl.c b/drivers/staging/vt6655/ioctl.c
index d9a5fd2..a15b953 100644
--- a/drivers/staging/vt6655/ioctl.c
+++ b/drivers/staging/vt6655/ioctl.c
@@ -54,14 +54,14 @@ static int msglevel =MSG_LEVEL_INFO;
/*--------------------- Export Variables --------------------------*/
-int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
-
- PSCmdRequest pReq = (PSCmdRequest)rq;
+int private_ioctl(PSDevice pDevice, struct ifreq *rq)
+{
+ PSCmdRequest pReq = (PSCmdRequest)rq;
PSMgmtObject pMgmt = pDevice->pMgmt;
- int result = 0;
+ int result = 0;
PWLAN_IE_SSID pItemSSID;
SCmdBSSJoin sJoinCmd;
- SCmdZoneTypeSet sZoneTypeCmd;
+ SCmdZoneTypeSet sZoneTypeCmd;
SCmdScan sScanCmd;
SCmdStartAP sStartAPCmd;
SCmdSetWEP sWEPCmd;
@@ -83,7 +83,7 @@ int private_ioctl(PSDevice pDevice, struct ifreq *rq) {
pReq->wResult = 0;
- switch(pReq->wCmdCode) {
+ switch (pReq->wCmdCode) {
case WLAN_CMD_BSS_SCAN:
--
1.6.6.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-02 9:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-02 9:59 [PATCH 1/1] Staging: vt6655: fix brace coding style issue in ioctl.c NG KIAN YONG
-- strict thread matches above, loose matches on Subject: below --
2010-04-02 9:49 NG KIAN YONG
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®