mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: NG KIAN YONG <ngky@comp.nus.edu.sg>
To: gregkh@suse.de, lieb@canonical.com, forest@alittletooquiet.net,
	andre.goddard@gmail.com
Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org,
	ngky@comp.nus.edu.sg
Subject: [PATCH 1/1] Staging: vt6655: fix brace coding style issue in ioctl.c
Date: Fri, 2 Apr 2010 17:59:44 +0800 (SGT)	[thread overview]
Message-ID: <Pine.SOC.4.64.1004021755040.20330@sunfire0.comp.nus.edu.sg> (raw)

>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



             reply	other threads:[~2010-04-02  9:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-02  9:59 NG KIAN YONG [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-04-02  9:49 NG KIAN YONG

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=Pine.SOC.4.64.1004021755040.20330@sunfire0.comp.nus.edu.sg \
    --to=ngky@comp.nus.edu.sg \
    --cc=andre.goddard@gmail.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=forest@alittletooquiet.net \
    --cc=gregkh@suse.de \
    --cc=lieb@canonical.com \
    --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

all inboxes | Powered by JetHome®