Staging: hv: fix up some coding style issues in logging.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Wednesday, September 16, 2009 - 9:08 am

Gitweb:     http://git.kernel.org/linus/0b8ffe077776543bfcd7aa470ee9df0ab64651d0
Commit:     0b8ffe077776543bfcd7aa470ee9df0ab64651d0
Parent:     82250213d08689ab34589923be3064bb8f4c1964
Author:     Greg Kroah-Hartman <gregkh@suse.de>
AuthorDate: Thu Aug 27 15:55:48 2009 -0700
Committer:  Greg Kroah-Hartman <gregkh@suse.de>
CommitDate: Tue Sep 15 12:01:58 2009 -0700

    Staging: hv: fix up some coding style issues in logging.h
    
    It's now clean.
    
    Well, from a coding style guide, not from a logic standpoint, the whole
    file needs to be tossed overboard and cheered on as the sharks tear it
    to individual bits.
    
    Cc: Hank Janssen <hjanssen@microsoft.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
 drivers/staging/hv/include/logging.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/hv/include/logging.h b/drivers/staging/hv/include/logging.h
index 74c18f1..9e55617 100644
--- a/drivers/staging/hv/include/logging.h
+++ b/drivers/staging/hv/include/logging.h
@@ -62,11 +62,11 @@
 extern unsigned int vmbus_loglevel;
 
 #define ASSERT(expr)	\
-        if (!(expr)) {	\
+	if (!(expr)) {	\
 		printk(KERN_CRIT "Assertion failed! %s,%s,%s,line=%d\n", \
 		       #expr, __FILE__, __func__, __LINE__);	\
 		__asm__ __volatile__("int3");	\
-        }
+	}
 
 #define DPRINT(mod, lvl, fmt, args...) do {\
 	if ((mod & (HIWORD(vmbus_loglevel))) &&	\
@@ -89,7 +89,7 @@ extern unsigned int vmbus_loglevel;
 #define DPRINT_WARN(mod, fmt, args...) do {\
 	if ((mod & (HIWORD(vmbus_loglevel))) &&		\
 	    (WARNING_LVL <= LOWORD(vmbus_loglevel)))	\
-	    printk(KERN_WARNING #mod": WARNING! " fmt "\n", ## args);\
+		printk(KERN_WARNING #mod": WARNING! " fmt "\n", ## args);\
 	} while (0)
 
 #define DPRINT_ERR(mod, fmt, args...) do {\
@@ -103,7 +103,7 @@ extern unsigned int vmbus_loglevel;
 #define DPRINT_ENTER(mod) do {\
 	if ((mod & (HIWORD(vmbus_loglevel))) && \
 	    (DEBUG_LVL_ENTEREXIT <= LOWORD(vmbus_loglevel)))	\
-	    printk(KERN_DEBUG "["#mod"]: %s() enter\n", __func__);\
+		printk(KERN_DEBUG "["#mod"]: %s() enter\n", __func__);\
 	} while (0)
 
 #define DPRINT_EXIT(mod) do {\
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Staging: hv: fix up some coding style issues in logging.h, Linux Kernel Mailing ..., (Wed Sep 16, 9:08 am)