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
This commit is contained in:
parent
e0c2d90f64
commit
60d602f8ed
@ -149,7 +149,8 @@ hv_vmbus_negotiate_version(hv_vmbus_channel_msg_info *msg_info,
|
||||
* 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, size_t bufferLen)
|
||||
* 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;
|
||||
|
||||
|
@ -346,7 +346,8 @@ hv_vmbus_child_device_unregister(struct hv_device *child_dev)
|
||||
}
|
||||
|
||||
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);
|
||||
|
Loading…
Reference in New Issue
Block a user