Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 May 2016 07:09:45 +0000 (UTC)
From:      Sepherosa Ziehau <sephe@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r300127 - head/sys/dev/hyperv/vmbus
Message-ID:  <201605180709.u4I79jf0070500@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605180709.u4I79jf0070500>