Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108096262
D7550.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
865 B
Referenced Files
None
Subscribers
None
D7550.diff
View Options
Index: head/sys/dev/hyperv/utilities/hv_kvp.c
===================================================================
--- head/sys/dev/hyperv/utilities/hv_kvp.c
+++ head/sys/dev/hyperv/utilities/hv_kvp.c
@@ -217,10 +217,9 @@
* hv_kvp - version neogtiation function
*/
static void
-hv_kvp_negotiate_version(struct hv_vmbus_icmsg_hdr *icmsghdrp,
- struct hv_vmbus_icmsg_negotiate *negop,
- uint8_t *buf)
+hv_kvp_negotiate_version(struct hv_vmbus_icmsg_hdr *icmsghdrp, uint8_t *buf)
{
+ struct hv_vmbus_icmsg_negotiate *negop;
int icframe_vercnt;
int icmsg_vercnt;
@@ -641,7 +640,7 @@
hv_kvp_transaction_init(sc, recvlen, requestid, kvp_buf);
if (icmsghdrp->icmsgtype == HV_ICMSGTYPE_NEGOTIATE) {
- hv_kvp_negotiate_version(icmsghdrp, NULL, kvp_buf);
+ hv_kvp_negotiate_version(icmsghdrp, kvp_buf);
hv_kvp_respond_host(sc, ret);
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jan 22, 8:30 AM (3 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16027296
Default Alt Text
D7550.diff (865 B)
Attached To
Mode
D7550: hyperv/kvp: Remove unnecessary function parameter.
Attached
Detach File
Event Timeline
Log In to Comment