Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F81969363
D8564.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
862 B
Referenced Files
None
Subscribers
None
D8564.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D8564: hyperv/vmbus: Minor style changes.
Attached
Detach File
Event Timeline
Log In to Comment