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>
diff --git a/drivers/staging/hv/Channel.h b/drivers/staging/hv/Channel.h
index dee444c..be65d64 100644
--- a/drivers/staging/hv/Channel.h
+++ b/drivers/staging/hv/Channel.h
@@ -31,7 +31,7 @@
#pragma pack(push,1)
-// The format must be the same as VMDATA_GPA_DIRECT
+/* The format must be the same as VMDATA_GPA_DIRECT */
typedef struct _VMBUS_CHANNEL_PACKET_PAGE_BUFFER {
u16 Type;
u16 DataOffset8;
@@ -44,7 +44,7 @@
} VMBUS_CHANNEL_PACKET_PAGE_BUFFER;
-// The format must be the same as VMDATA_GPA_DIRECT
+/* The format must be the same as VMDATA_GPA_DIRECT */
typedef struct _VMBUS_CHANNEL_PACKET_MULITPAGE_BUFFER {
u16 Type;
u16 DataOffset8;
@@ -52,15 +52,15 @@
u16 Flags;
u64 TransactionId;
u32 Reserved;
- u32 RangeCount; // Always 1 in this case
+ u32 RangeCount; /* Always 1 in this case */
MULTIPAGE_BUFFER Range;
} VMBUS_CHANNEL_PACKET_MULITPAGE_BUFFER;
#pragma pack(pop)
-//
-// Routines
-//
+
+/* Routines */
+
static int
VmbusChannelOpen(
@@ -110,8 +110,8 @@
static int
VmbusChannelEstablishGpadl(
VMBUS_CHANNEL *Channel,
- void * Kbuffer, // from kmalloc()
- u32 Size, // page-size multiple
+ void * Kbuffer, /* from kmalloc() */
+ u32 Size, /* page-size multiple */
u32 *GpadlHandle
);
@@ -154,4 +154,4 @@
VmbusChannelOnTimer(
void *Context
);
-#endif //_CHANNEL_H_
+#endif /* _CHANNEL_H_ */