svn commit: r300127 - head/sys/dev/hyperv/vmbus
Sepherosa Ziehau
sephe at FreeBSD.org
Wed May 18 07:09:46 UTC 2016
Author: sephe
Date: Wed May 18 07:09:44 2016
New Revision: 300127
URL: https://svnweb.freebsd.org/changeset/base/300127
Log:
hyperv/vmbus: Minor function definition style fixup
Reviewed by: Jun Su <junsu microsoft com>
MFC after: 1 week
Sponsored by: Microsoft OSTC
Differential Revision: https://reviews.freebsd.org/D6417
Modified:
head/sys/dev/hyperv/vmbus/hv_connection.c
head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
Modified: head/sys/dev/hyperv/vmbus/hv_connection.c
==============================================================================
--- head/sys/dev/hyperv/vmbus/hv_connection.c Wed May 18 07:01:32 2016 (r300126)
+++ head/sys/dev/hyperv/vmbus/hv_connection.c Wed May 18 07:09:44 2016 (r300127)
@@ -149,7 +149,8 @@ hv_vmbus_negotiate_version(hv_vmbus_chan
* Send a connect request on the partition service connection
*/
int
-hv_vmbus_connect(void) {
+hv_vmbus_connect(void)
+{
int ret = 0;
uint32_t version;
hv_vmbus_channel_msg_info* msg_info = NULL;
@@ -271,7 +272,8 @@ hv_vmbus_connect(void) {
* Send a disconnect request on the partition service connection
*/
int
-hv_vmbus_disconnect(void) {
+hv_vmbus_disconnect(void)
+{
int ret = 0;
hv_vmbus_channel_unload msg;
@@ -395,7 +397,8 @@ int hv_vmbus_post_message(void *buffer,
* Send an event notification to the parent
*/
int
-hv_vmbus_set_event(hv_vmbus_channel *channel) {
+hv_vmbus_set_event(hv_vmbus_channel *channel)
+{
int ret = 0;
uint32_t child_rel_id = channel->offer_msg.child_rel_id;
Modified: head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c
==============================================================================
--- head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c Wed May 18 07:01:32 2016 (r300126)
+++ head/sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c Wed May 18 07:09:44 2016 (r300127)
@@ -346,7 +346,8 @@ hv_vmbus_child_device_unregister(struct
}
static int
-vmbus_probe(device_t dev) {
+vmbus_probe(device_t dev)
+{
if (ACPI_ID_PROBE(device_get_parent(dev), dev, vmbus_ids) == NULL ||
device_get_unit(dev) != 0)
return (ENXIO);
More information about the svn-src-all
mailing list