PATCH 8/8] staging: hv: tabs are *8*
Win32 style often uses four-character tabs, and when using the proper 8-char Linux-y tabs, a few places blew out the margins. This patch fixes the obvious mis-tabbing.
~~~ Steve
Signed-off-by Steve Friedl <[email protected]>
--- 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
@@ -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
@@ -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 1struct hv_storvsc_request ;
drivers/staging/hv/VmbusApi.h +2 -2
@@ -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