Commit 2a9d7de2 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by Greg Kroah-Hartman

vmbus: cleanup header file style

Minor changes to align hyper-v vmbus include files with current
linux kernel style.
Signed-off-by: default avatarStephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e6242fa0
...@@ -403,17 +403,17 @@ int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep); ...@@ -403,17 +403,17 @@ int vmbus_post_msg(void *buffer, size_t buflen, bool can_sleep);
void vmbus_on_event(unsigned long data); void vmbus_on_event(unsigned long data);
void vmbus_on_msg_dpc(unsigned long data); void vmbus_on_msg_dpc(unsigned long data);
int hv_kvp_init(struct hv_util_service *); int hv_kvp_init(struct hv_util_service *srv);
void hv_kvp_deinit(void); void hv_kvp_deinit(void);
void hv_kvp_onchannelcallback(void *); void hv_kvp_onchannelcallback(void *context);
int hv_vss_init(struct hv_util_service *); int hv_vss_init(struct hv_util_service *srv);
void hv_vss_deinit(void); void hv_vss_deinit(void);
void hv_vss_onchannelcallback(void *); void hv_vss_onchannelcallback(void *context);
int hv_fcopy_init(struct hv_util_service *); int hv_fcopy_init(struct hv_util_service *srv);
void hv_fcopy_deinit(void); void hv_fcopy_deinit(void);
void hv_fcopy_onchannelcallback(void *); void hv_fcopy_onchannelcallback(void *context);
void vmbus_initiate_unload(bool crash); void vmbus_initiate_unload(bool crash);
static inline void hv_poll_channel(struct vmbus_channel *channel, static inline void hv_poll_channel(struct vmbus_channel *channel,
......
...@@ -1006,7 +1006,7 @@ extern int vmbus_open(struct vmbus_channel *channel, ...@@ -1006,7 +1006,7 @@ extern int vmbus_open(struct vmbus_channel *channel,
u32 recv_ringbuffersize, u32 recv_ringbuffersize,
void *userdata, void *userdata,
u32 userdatalen, u32 userdatalen,
void(*onchannel_callback)(void *context), void (*onchannel_callback)(void *context),
void *context); void *context);
extern void vmbus_close(struct vmbus_channel *channel); extern void vmbus_close(struct vmbus_channel *channel);
...@@ -1421,7 +1421,7 @@ struct hyperv_service_callback { ...@@ -1421,7 +1421,7 @@ struct hyperv_service_callback {
char *log_msg; char *log_msg;
uuid_le data; uuid_le data;
struct vmbus_channel *channel; struct vmbus_channel *channel;
void (*callback) (void *context); void (*callback)(void *context);
}; };
#define MAX_SRV_VER 0x7ffffff #define MAX_SRV_VER 0x7ffffff
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment