[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1422779834-28012-1-git-send-email-hofrat@osadl.org>
Date: Sun, 1 Feb 2015 03:37:14 -0500
From: Nicholas Mc Guire <hofrat@...dl.org>
To: "K. Y. Srinivasan" <kys@...rosoft.com>
Cc: Haiyang Zhang <haiyangz@...rosoft.com>,
devel@...uxdriverproject.org, linux-kernel@...r.kernel.org,
Nicholas Mc Guire <der.herr@...r.at>
Subject: [PATCH] hv: vmbus_drv: match var type to return type of wait_for_completion
From: Nicholas Mc Guire <der.herr@...r.at>
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: Nicholas Mc Guire <der.herr@...r.at>
---
The return type of wait_for_completion_timeout is unsigned long not
int. This patch resolves the type missmatch by changing the type
to unsigned long.
This patch was only compile tested with x86_64_defconfig +
CONFIG_X86_VSMP=y, CONFIG_HYPERV=m
Patch is against 3.19.0-rc6 -next-20150130
drivers/hv/vmbus_drv.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/drivers/hv/vmbus_drv.c b/drivers/hv/vmbus_drv.c
index f518b8d7..a6fa142 100644
--- a/drivers/hv/vmbus_drv.c
+++ b/drivers/hv/vmbus_drv.c
@@ -952,7 +952,8 @@ static struct acpi_driver vmbus_acpi_driver = {
static int __init hv_acpi_init(void)
{
- int ret, t;
+ int ret;
+ unsigned long t;
if (x86_hyper != &x86_hyper_ms_hyperv)
return -ENODEV;
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists