Merge branch 'x86-efi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[firefly-linux-kernel-4.4.55.git] / drivers / hv / hv_util.c
index dbb8b8eec2100bc92939f309550b0d00c037c4cb..d3ac6a40118b30eb1033809c7f9198a6dd5c9b17 100644 (file)
@@ -70,7 +70,8 @@ static void shutdown_onchannelcallback(void *context)
                        sizeof(struct vmbuspipe_hdr)];
 
                if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) {
-                       vmbus_prep_negotiate_resp(icmsghdrp, negop, shut_txf_buf);
+                       vmbus_prep_negotiate_resp(icmsghdrp, negop,
+                                       shut_txf_buf, MAX_SRV_VER, MAX_SRV_VER);
                } else {
                        shutdown_msg =
                                (struct shutdown_msg_data *)&shut_txf_buf[
@@ -195,7 +196,8 @@ static void timesync_onchannelcallback(void *context)
                                sizeof(struct vmbuspipe_hdr)];
 
                if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) {
-                       vmbus_prep_negotiate_resp(icmsghdrp, NULL, time_txf_buf);
+                       vmbus_prep_negotiate_resp(icmsghdrp, NULL, time_txf_buf,
+                                               MAX_SRV_VER, MAX_SRV_VER);
                } else {
                        timedatap = (struct ictimesync_data *)&time_txf_buf[
                                sizeof(struct vmbuspipe_hdr) +
@@ -234,7 +236,8 @@ static void heartbeat_onchannelcallback(void *context)
                                sizeof(struct vmbuspipe_hdr)];
 
                if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) {
-                       vmbus_prep_negotiate_resp(icmsghdrp, NULL, hbeat_txf_buf);
+                       vmbus_prep_negotiate_resp(icmsghdrp, NULL,
+                               hbeat_txf_buf, MAX_SRV_VER, MAX_SRV_VER);
                } else {
                        heartbeat_msg =
                                (struct heartbeat_msg_data *)&hbeat_txf_buf[