Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 17775742 authored by Dan Carpenter's avatar Dan Carpenter Committed by Greg Kroah-Hartman
Browse files

hv: vmbus: missing curly braces in vmbus_process_offer()



The indenting makes it clear that there were curly braces intended here.

Fixes: 2dd37cb8 ('Drivers: hv: vmbus: Handle both rescind and offer messages in the same context')
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5ef5b692
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -415,7 +415,7 @@ static void vmbus_process_offer(struct vmbus_channel *newchannel)


			newchannel->state = CHANNEL_OPEN_STATE;
			newchannel->state = CHANNEL_OPEN_STATE;
			channel->num_sc++;
			channel->num_sc++;
			if (channel->sc_creation_callback != NULL)
			if (channel->sc_creation_callback != NULL) {
				/*
				/*
				 * We need to invoke the sub-channel creation
				 * We need to invoke the sub-channel creation
				 * callback; invoke this in a seperate work
				 * callback; invoke this in a seperate work
@@ -427,6 +427,7 @@ static void vmbus_process_offer(struct vmbus_channel *newchannel)
					  vmbus_sc_creation_cb);
					  vmbus_sc_creation_cb);
				queue_work(newchannel->controlwq,
				queue_work(newchannel->controlwq,
					   &newchannel->work);
					   &newchannel->work);
			}


			return;
			return;
		}
		}