[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1403278684-10891-6-git-send-email-martin.gumbrecht@googlemail.com>
Date: Fri, 20 Jun 2014 17:38:02 +0200
From: Martin Gumbrecht <martin.gumbrecht@...glemail.com>
To: gregkh@...uxfoundation.org
Cc: christian.bay@...dium.fau.de, linux-kernel@...cs.fau.de,
lisa@...apiadmin.com, daeseok.youn@...il.com, luiorpe1@...il.com,
veeableful@...il.com, devel@...verdev.osuosl.org,
linux-kernel@...r.kernel.org, martin.gumbrecht@...glemail.com
Subject: [PATCH v2 5/7] Staging: bcm: Queue.h: fix checkpatch errors: whitespaces
This patch improves coding style in Queue.h
Whitespaces according to the coding guideline
Signed-off-by: Martin Gumbrecht <martin.gumbrecht@...glemail.com>
Signed-off-by: Christian Bay <christian.bay@...dium.fau.de>
---
drivers/staging/bcm/Queue.h | 32 ++++++++++++++++----------------
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/drivers/staging/bcm/Queue.h b/drivers/staging/bcm/Queue.h
index b6f8468e..460c0ae 100644
--- a/drivers/staging/bcm/Queue.h
+++ b/drivers/staging/bcm/Queue.h
@@ -6,24 +6,24 @@
-#define ENQUEUEPACKET(_Head, _Tail,_Packet) \
+#define ENQUEUEPACKET(_Head, _Tail, _Packet) \
do { \
- if (!_Head) { \
- _Head = _Packet; \
- } \
- else { \
- (_Tail)->next = _Packet; \
- } \
- (_Packet)->next = NULL; \
- _Tail = _Packet; \
-}while(0)
-#define DEQUEUEPACKET(Head, Tail ) \
+ if (!_Head) { \
+ _Head = _Packet; \
+ } \
+ else { \
+ (_Tail)->next = _Packet; \
+ } \
+ (_Packet)->next = NULL; \
+ _Tail = _Packet; \
+} while (0)
+#define DEQUEUEPACKET(Head, Tail) \
do { \
if (Head) { \
- if (!Head->next) { \
- Tail = NULL; \
- } \
- Head = Head->next; \
- } \
+ if (!Head->next) { \
+ Tail = NULL; \
+ } \
+ Head = Head->next; \
+ } \
} while (0)
#endif /* __QUEUE_H__ */
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists