[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <3290cfb057c940ab8853de586a3730c2@SN2PR03MB061.namprd03.prod.outlook.com>
Date: Tue, 15 Oct 2013 23:32:11 +0000
From: KY Srinivasan <kys@...rosoft.com>
To: Felipe Pena <felipensp@...il.com>,
Haiyang Zhang <haiyangz@...rosoft.com>
CC: "devel@...uxdriverproject.org" <devel@...uxdriverproject.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 1/1] drivers: hv: Fix wrong check for synic_event_page
> -----Original Message-----
> From: Felipe Pena [mailto:felipensp@...il.com]
> Sent: Tuesday, October 15, 2013 4:23 PM
> To: KY Srinivasan; Haiyang Zhang
> Cc: devel@...uxdriverproject.org; linux-kernel@...r.kernel.org; Felipe Pena
> Subject: [PATCH 1/1] drivers: hv: Fix wrong check for synic_event_page
>
> The check for calling free_page() on hv_context.synic_event_page[cpu] is the
> same for hv_context.synic_message_page[cpu], like a copy-paste error.
>
> Signed-off-by: Felipe Pena <felipensp@...il.com>
Thanks Felipe.
Signed-off-by: K. Y. Srinivasan <kys@...rosoft.com>
K. Y
> ---
> drivers/hv/hv.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hv/hv.c b/drivers/hv/hv.c
> index 88f4096..f0c5e07 100644
> --- a/drivers/hv/hv.c
> +++ b/drivers/hv/hv.c
> @@ -304,7 +304,7 @@ err:
> void hv_synic_free_cpu(int cpu)
> {
> kfree(hv_context.event_dpc[cpu]);
> - if (hv_context.synic_message_page[cpu])
> + if (hv_context.synic_event_page[cpu])
> free_page((unsigned long)hv_context.synic_event_page[cpu]);
> if (hv_context.synic_message_page[cpu])
> free_page((unsigned
> long)hv_context.synic_message_page[cpu]);
> --
> 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