Page MenuHomeFreeBSD

D8564.diff
No OneTemporary

D8564.diff

Index: head/sys/dev/hyperv/vmbus/vmbus_chan.c
===================================================================
--- head/sys/dev/hyperv/vmbus/vmbus_chan.c
+++ head/sys/dev/hyperv/vmbus/vmbus_chan.c
@@ -345,7 +345,7 @@
if (udlen > VMBUS_CHANMSG_CHOPEN_UDATA_SIZE) {
vmbus_chan_printf(chan,
"invalid udata len %d for chan%u\n", udlen, chan->ch_id);
- return EINVAL;
+ return (EINVAL);
}
br = cbr->cbr;
@@ -442,10 +442,9 @@
vmbus_msghc_put(sc, mh);
if (status == 0) {
- if (bootverbose) {
+ if (bootverbose)
vmbus_chan_printf(chan, "chan%u opened\n", chan->ch_id);
- }
- return 0;
+ return (0);
}
vmbus_chan_printf(chan, "failed to open chan%u\n", chan->ch_id);
@@ -458,7 +457,7 @@
chan->ch_bufring_gpadl = 0;
}
atomic_clear_int(&chan->ch_stflags, VMBUS_CHAN_ST_OPENED);
- return error;
+ return (error);
}
int

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 15, 5:55 AM (10 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
9091475
Default Alt Text
D8564.diff (862 B)

Event Timeline