diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/hv/hv.c | 2 | ||||
-rw-r--r-- | drivers/hv/hyperv_vmbus.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c index 15956bd48b48..86f8885aeb45 100644 --- a/drivers/hv/hv.c +++ b/drivers/hv/hv.c | |||
@@ -252,7 +252,7 @@ void hv_cleanup(void) | |||
252 | * | 252 | * |
253 | * This involves a hypercall. | 253 | * This involves a hypercall. |
254 | */ | 254 | */ |
255 | u16 hv_post_message(union hv_connection_id connection_id, | 255 | int hv_post_message(union hv_connection_id connection_id, |
256 | enum hv_message_type message_type, | 256 | enum hv_message_type message_type, |
257 | void *payload, size_t payload_size) | 257 | void *payload, size_t payload_size) |
258 | { | 258 | { |
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h index 699f0d8e59ed..b9426a6592ee 100644 --- a/drivers/hv/hyperv_vmbus.h +++ b/drivers/hv/hyperv_vmbus.h | |||
@@ -495,7 +495,7 @@ extern int hv_init(void); | |||
495 | 495 | ||
496 | extern void hv_cleanup(void); | 496 | extern void hv_cleanup(void); |
497 | 497 | ||
498 | extern u16 hv_post_message(union hv_connection_id connection_id, | 498 | extern int hv_post_message(union hv_connection_id connection_id, |
499 | enum hv_message_type message_type, | 499 | enum hv_message_type message_type, |
500 | void *payload, size_t payload_size); | 500 | void *payload, size_t payload_size); |
501 | 501 | ||