Skip to contentSkip to conversation

staging: hv: tabs are *8*

PATCH In review Steve Friedl 1 participant 1 message Sep 22, 2009 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 8/8 staging: hv: tabs are *8*

[ I think I submitted the previous version of this patch improperly ]

Win32 style often uses four-character tabs, and when using the proper 8-char tabs, a few places blew out the margins. This patch fixes the obvious mis-tabbing.

~~~ Steve

---
 drivers/staging/hv/RingBuffer.c |   12 ++++----
 drivers/staging/hv/StorVscApi.h |   12 ++++----
 drivers/staging/hv/VmbusApi.h   |    4 +-
 drivers/staging/hv/logging.h    |   50 +++++++++++++++++++-------------------
 4 files changed, 39 insertions(+), 39 deletions(-)
drivers/staging/hv/RingBuffer.c +6 -6
index 501dee9..1e8ae29 100644
@@ -497,14 +497,14 @@ int RingBufferRead(struct hv_ring_buffer_info *InRingInfo, void *Buffer,
 	nextReadLocation = GetNextReadLocationWithOffset(InRingInfo, Offset);
 
 	nextReadLocation = CopyFromRingBuffer(InRingInfo,
-											Buffer,
-											BufferLen,
-											nextReadLocation);
+						Buffer,
+						BufferLen,
+						nextReadLocation);
 
 	nextReadLocation = CopyFromRingBuffer(InRingInfo,
-											&prevIndices,
-											sizeof(u64),
-											nextReadLocation);
+						&prevIndices,
+						sizeof(u64),
+						nextReadLocation);
 
 	/* Make sure all reads are done before we update the read index since */
 	/* the writer may start writing to the read area once the read index is updated */
drivers/staging/hv/StorVscApi.h +6 -6
index 69c1406..b0ba810 100644
@@ -28,10 +28,10 @@
 #include "VmbusApi.h"
 
 /* Defines */
-#define STORVSC_RING_BUFFER_SIZE			(10*PAGE_SIZE)
-#define BLKVSC_RING_BUFFER_SIZE				(20*PAGE_SIZE)
+#define STORVSC_RING_BUFFER_SIZE	(10*PAGE_SIZE)
+#define BLKVSC_RING_BUFFER_SIZE		(20*PAGE_SIZE)
 
-#define STORVSC_MAX_IO_REQUESTS				64
+#define STORVSC_MAX_IO_REQUESTS		64
 
 /*
  * In Hyper-V, each port/path/target maps to 1 scsi host adapter.  In
@@ -39,9 +39,9 @@
  * scsi host adapter essentially has 1 bus with 1 target that contains
  * up to 256 luns.
  */
-#define STORVSC_MAX_LUNS_PER_TARGET			64
-#define STORVSC_MAX_TARGETS				1
-#define STORVSC_MAX_CHANNELS				1
+#define STORVSC_MAX_LUNS_PER_TARGET	64
+#define STORVSC_MAX_TARGETS		1
+#define STORVSC_MAX_CHANNELS		1
 
 struct hv_storvsc_request;
 
drivers/staging/hv/VmbusApi.h +2 -2
index d089bb1..3c25e51 100644
@@ -25,8 +25,8 @@
 #ifndef _VMBUS_API_H_
 #define _VMBUS_API_H_
 
-#define MAX_PAGE_BUFFER_COUNT				16
-#define MAX_MULTIPAGE_BUFFER_COUNT			32 /* 128K */
+#define MAX_PAGE_BUFFER_COUNT		16
+#define MAX_MULTIPAGE_BUFFER_COUNT	32 /* 128K */
 
 #pragma pack(push, 1)
 
drivers/staging/hv/logging.h +26 -26

61 lines not on this page · raw message

Signature · 1 line
1.6.5.rc1