From: Wei Liu <wei.liu@kernel.org>
To: Kameron Carr <kameroncarr@linux.microsoft.com>
Cc: arnd@arndb.de, decui@microsoft.com, haiyangz@microsoft.com,
kys@microsoft.com, linux-arch@vger.kernel.org,
linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org,
wei.liu@kernel.org
Subject: Re: [PATCH v2] Drivers: hv: Change hv_free_hyperv_page() to take void * argument
Date: Wed, 28 Jun 2023 17:51:56 +0000 [thread overview]
Message-ID: <ZJxzPBE5mDVBUKCE@liuwe-devbox-debian-v2> (raw)
In-Reply-To: <1687558189-19734-1-git-send-email-kameroncarr@linux.microsoft.com>
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@linux.microsoft.com>
Applied to hyperv-fixes. Thanks!
prev parent reply other threads:[~2023-06-28 17:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-23 22:09 [PATCH v2] Drivers: hv: Change hv_free_hyperv_page() to take void * argument Kameron Carr
2023-06-23 22:19 ` Dexuan Cui
2023-06-27 16:58 ` Nuno Das Neves
2023-06-28 17:51 ` Wei Liu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZJxzPBE5mDVBUKCE@liuwe-devbox-debian-v2 \
--to=wei.liu@kernel.org \
--cc=arnd@arndb.de \
--cc=decui@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=kameroncarr@linux.microsoft.com \
--cc=kys@microsoft.com \
--cc=linux-arch@vger.kernel.org \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).