[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZJxzPBE5mDVBUKCE@liuwe-devbox-debian-v2>
Date: Wed, 28 Jun 2023 17:51:56 +0000
From: Wei Liu <wei.liu@...nel.org>
To: Kameron Carr <kameroncarr@...ux.microsoft.com>
Cc: arnd@...db.de, decui@...rosoft.com, haiyangz@...rosoft.com,
kys@...rosoft.com, linux-arch@...r.kernel.org,
linux-hyperv@...r.kernel.org, linux-kernel@...r.kernel.org,
wei.liu@...nel.org
Subject: Re: [PATCH v2] Drivers: hv: Change hv_free_hyperv_page() to take
void * argument
On Fri, Jun 23, 2023 at 03:09:49PM -0700, Kameron Carr wrote:
> 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>
Applied to hyperv-fixes. Thanks!
Powered by blists - more mailing lists