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

Commit 99259159 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman
Browse files

Staging: hv: remove ASSERT() in Channel.c



return an error instead of calling ASSERT() if VmbusPostMessage()
fails.

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent d1c250bb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -551,7 +551,9 @@ int VmbusChannelEstablishGpadl(struct vmbus_channel *Channel, void *Kbuffer,
			ret = VmbusPostMessage(gpadlBody,
					       subMsgInfo->MessageSize -
					       sizeof(*subMsgInfo));
			ASSERT(ret == 0);
			if (!ret)
				goto Cleanup;

		}
	}
	osd_WaitEventWait(msgInfo->WaitEvent);