summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/utilities/hv_shutdown.c
diff options
context:
space:
mode:
authorsephe <sephe@FreeBSD.org>2016-10-12 02:03:05 +0000
committersephe <sephe@FreeBSD.org>2016-10-12 02:03:05 +0000
commite1a4efcb70d351a2a2be00f017b2ee84aa8ba46b (patch)
tree01fe4e1ef9b59933bb2d4f451375fd226fa2e92d /sys/dev/hyperv/utilities/hv_shutdown.c
parent869c696c42a93d91f91468cb3e5eb89d51d024b8 (diff)
downloadFreeBSD-src-e1a4efcb70d351a2a2be00f017b2ee84aa8ba46b.zip
FreeBSD-src-e1a4efcb70d351a2a2be00f017b2ee84aa8ba46b.tar.gz
MFC 302882-302884
302882 hyperv/vmbus: Function rename And reorder the error prone parameters list. Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7191 302883 hyperv/vmbus: Field rename Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7193 302884 hyperv/vmbus: Factor out macros to do channel packet length conversion. Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7194
Diffstat (limited to 'sys/dev/hyperv/utilities/hv_shutdown.c')
-rw-r--r--sys/dev/hyperv/utilities/hv_shutdown.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/hyperv/utilities/hv_shutdown.c b/sys/dev/hyperv/utilities/hv_shutdown.c
index eea618c..4cca5a6 100644
--- a/sys/dev/hyperv/utilities/hv_shutdown.c
+++ b/sys/dev/hyperv/utilities/hv_shutdown.c
@@ -105,9 +105,8 @@ hv_shutdown_cb(void *context)
icmsghdrp->icflags = HV_ICMSGHDRFLAG_TRANSACTION |
HV_ICMSGHDRFLAG_RESPONSE;
- hv_vmbus_channel_send_packet(channel, buf,
- recv_len, request_id,
- VMBUS_CHANPKT_TYPE_INBAND, 0);
+ vmbus_chan_send(channel, VMBUS_CHANPKT_TYPE_INBAND, 0,
+ buf, recv_len, request_id);
}
if (execute_shutdown)
OpenPOWER on IntegriCloud