[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SA1PR21MB133552178E6E9F045C4FB0F5BF23A@SA1PR21MB1335.namprd21.prod.outlook.com>
Date: Fri, 23 Jun 2023 22:19:31 +0000
From: Dexuan Cui <decui@...rosoft.com>
To: Kameron Carr <kameroncarr@...ux.microsoft.com>,
"arnd@...db.de" <arnd@...db.de>,
Haiyang Zhang <haiyangz@...rosoft.com>,
KY Srinivasan <kys@...rosoft.com>,
"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
"linux-hyperv@...r.kernel.org" <linux-hyperv@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"wei.liu@...nel.org" <wei.liu@...nel.org>
Subject: RE: [PATCH v2] Drivers: hv: Change hv_free_hyperv_page() to take void
* argument
> From: Kameron Carr <kameroncarr@...ux.microsoft.com>
> Sent: Friday, June 23, 2023 3:10 PM
> ...
> Currently hv_free_hyperv_page() takes an unsigned long argument, which
> is inconsistent with the void * return value from the corresponding
> hv_alloc_hyperv_page() function and variants. This creates unnecessary
> extra casting.
>
> Change the hv_free_hyperv_page() argument type to void *.
> Also remove redundant casts from invocations of
> hv_alloc_hyperv_page() and variants.
>
> Signed-off-by: Kameron Carr <kameroncarr@...ux.microsoft.com>
> ---
> V1 -> V2: Added Signed-off-by
Reviewed-by: Dexuan Cui <decui@...rosoft.com>
Powered by blists - more mailing lists