diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-07-27 20:47:24 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-15 19:01:50 (GMT) |
commit | 454f18a963cf6519bf317e74e6b9781ffef8d253 (patch) | |
tree | 67b206b51dfa5590f3fbdc3db094df1ba5194c6d /drivers/staging/hv/BlkVsc.c | |
parent | 226408a4998041d7832123ab9ccd743e878197ed (diff) | |
download | linux-fsl-qoriq-454f18a963cf6519bf317e74e6b9781ffef8d253.tar.xz |
Staging: hv: Remove C99 comments
Remove C99 // comments with traditional /* */ comments
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/hv/BlkVsc.c')
-rw-r--r-- | drivers/staging/hv/BlkVsc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/staging/hv/BlkVsc.c b/drivers/staging/hv/BlkVsc.c index dc91aae..7903a773 100644 --- a/drivers/staging/hv/BlkVsc.c +++ b/drivers/staging/hv/BlkVsc.c @@ -26,12 +26,12 @@ static const char* gBlkDriverName="blkvsc"; -//{32412632-86cb-44a2-9b5c-50d1417354f5} +/* {32412632-86cb-44a2-9b5c-50d1417354f5} */ static const GUID gBlkVscDeviceType={ .Data = {0x32, 0x26, 0x41, 0x32, 0xcb, 0x86, 0xa2, 0x44, 0x9b, 0x5c, 0x50, 0xd1, 0x41, 0x73, 0x54, 0xf5} }; -// Static routines +/* Static routines */ static int BlkVscOnDeviceAdd( DEVICE_OBJECT *Device, @@ -49,21 +49,21 @@ BlkVscInitialize( DPRINT_ENTER(BLKVSC); - // Make sure we are at least 2 pages since 1 page is used for control + /* Make sure we are at least 2 pages since 1 page is used for control */ ASSERT(storDriver->RingBufferSize >= (PAGE_SIZE << 1)); Driver->name = gBlkDriverName; memcpy(&Driver->deviceType, &gBlkVscDeviceType, sizeof(GUID)); storDriver->RequestExtSize = sizeof(STORVSC_REQUEST_EXTENSION); - // Divide the ring buffer data size (which is 1 page less than the ring buffer size since that page is reserved for the ring buffer indices) - // by the max request size (which is VMBUS_CHANNEL_PACKET_MULITPAGE_BUFFER + VSTOR_PACKET + u64) + /* Divide the ring buffer data size (which is 1 page less than the ring buffer size since that page is reserved for the ring buffer indices) */ + /* by the max request size (which is VMBUS_CHANNEL_PACKET_MULITPAGE_BUFFER + VSTOR_PACKET + u64) */ storDriver->MaxOutstandingRequestsPerChannel = ((storDriver->RingBufferSize - PAGE_SIZE) / ALIGN_UP(MAX_MULTIPAGE_BUFFER_PACKET + sizeof(VSTOR_PACKET) + sizeof(u64),sizeof(u64))); DPRINT_INFO(BLKVSC, "max io outstd %u", storDriver->MaxOutstandingRequestsPerChannel); - // Setup the dispatch table + /* Setup the dispatch table */ storDriver->Base.OnDeviceAdd = BlkVscOnDeviceAdd; storDriver->Base.OnDeviceRemove = StorVscOnDeviceRemove; storDriver->Base.OnCleanup = StorVscOnCleanup; @@ -95,8 +95,8 @@ BlkVscOnDeviceAdd( return ret; } - // We need to use the device instance guid to set the path and target id. For IDE devices, the - // device instance id is formatted as <bus id> - <device id> - 8899 - 000000000000. + /* We need to use the device instance guid to set the path and target id. For IDE devices, the */ + /* device instance id is formatted as <bus id> - <device id> - 8899 - 000000000000. */ deviceInfo->PathId = Device->deviceInstance.Data[3] << 24 | Device->deviceInstance.Data[2] << 16 | Device->deviceInstance.Data[1] << 8 |Device->deviceInstance.Data[0]; |