[ktap] [PATCH] staging:ktap:ktap.c: fix coding style

  • From: Gokulnath A <gokul.linux@xxxxxxxxx>
  • To: gregkh@xxxxxxxxxxxxxxxxxxx, ktap@xxxxxxxxxxxxx, jovi.zhangwei@xxxxxxxxx
  • Date: Mon, 28 Oct 2013 00:32:40 +0530

fixed the errors and warnings found by
checkpatch.pl script.

Signed-off-by: Gokulnath A <Gokulnath.Avanashilingam@xxxxxxxxxxxx>
---
 drivers/staging/ktap/interpreter/ktap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/ktap/interpreter/ktap.c
b/drivers/staging/ktap/interpreter/ktap.c
index 18d8fc8..b84ebca 100644
--- a/drivers/staging/ktap/interpreter/ktap.c
+++ b/drivers/staging/ktap/interpreter/ktap.c
@@ -128,7 +128,7 @@ static int ktap_main(struct file *file, ktap_parm *parm)
     kp_final_exit(ks);

  out:
-    atomic_dec(&kp_is_running);
+    atomic_dec(&kp_is_running);
     return ret;
 }

@@ -157,7 +157,7 @@ static long ktap_ioctl(struct file *file, unsigned
int cmd, unsigned long arg)
         return -EINVAL;
     };

-        return 0;
+    return 0;
 }

 static const struct file_operations ktap_fops = {
-- 
1.8.1.2

Other related posts:

  • » [ktap] [PATCH] staging:ktap:ktap.c: fix coding style - Gokulnath A