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

Commit b057b3ad authored by Nicholas Mc Guire's avatar Nicholas Mc Guire Committed by Greg Kroah-Hartman
Browse files

hv: hv_balloon: match var type to return type of wait_for_completion



return type of wait_for_completion_timeout is unsigned long not int, this
patch changes the type of t from int to unsigned long.

Signed-off-by: default avatarNicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 51e5181d
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1414,7 +1414,8 @@ static void balloon_onchannelcallback(void *context)
static int balloon_probe(struct hv_device *dev,
static int balloon_probe(struct hv_device *dev,
			const struct hv_vmbus_device_id *dev_id)
			const struct hv_vmbus_device_id *dev_id)
{
{
	int ret, t;
	int ret;
	unsigned long t;
	struct dm_version_request version_req;
	struct dm_version_request version_req;
	struct dm_capabilities cap_msg;
	struct dm_capabilities cap_msg;