From: Wei Liu <wei.liu@kernel.org>
To: Nischala Yelchuri <niyelchu@linux.microsoft.com>
Cc: linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org,
mikelley@microsoft.com, K.Y.Srinivasan@linux.microsoft.com,
kys@microsoft.com, Haiyang@linux.microsoft.com,
Zhang@linux.microsoft.com, haiyangz@microsoft.com,
Wei@linux.microsoft.com, Liu@linux.microsoft.com,
wei.liu@kernel.org, Dexuan@linux.microsoft.com,
Cui@linux.microsoft.com, decui@microsoft.com,
Thomas@linux.microsoft.com, Gleixner@linux.microsoft.com,
tglx@linutronix.de, Ingo@linux.microsoft.com,
Molnar@linux.microsoft.com, mingo@redhat.com,
Borislav@linux.microsoft.com, Petkov@linux.microsoft.com,
bp@alien8.de, Dave@linux.microsoft.com,
Hansen@linux.microsoft.com, dave.hansen@linux.intel.com,
x86@kernel.org, H.PeterAnvin@linux.microsoft.com, hpa@zytor.com,
Tyler@linux.microsoft.com, Hicks@linux.microsoft.com,
code@tyhicks.com, niyelchu@microsoft.com
Subject: Re: [PATCH] x86/hyperv: Improve code for referencing hyperv_pcpu_input_arg
Date: Wed, 28 Jun 2023 17:53:43 +0000 [thread overview]
Message-ID: <ZJxzp7zJVTIFAylj@liuwe-devbox-debian-v2> (raw)
In-Reply-To: <1687286438-9421-1-git-send-email-niyelchu@linux.microsoft.com>
On Tue, Jun 20, 2023 at 11:40:38AM -0700, Nischala Yelchuri wrote:
> Several places in code for Hyper-V reference the
> per-CPU variable hyperv_pcpu_input_arg. Older code uses a multi-line
> sequence to reference the variable, and usually includes a cast.
> Newer code does a much simpler direct assignment. The latter is
> preferable as the complexity of the older code is unnecessary.
>
> Update older code to use the simpler direct assignment.
>
> Signed-off-by: Nischala Yelchuri <niyelchu@linux.microsoft.com>
Applied to hyperv-fixes. Thanks!
prev parent reply other threads:[~2023-06-28 17:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-20 18:40 [PATCH] x86/hyperv: Improve code for referencing hyperv_pcpu_input_arg Nischala Yelchuri
2023-06-28 17:53 ` 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=ZJxzp7zJVTIFAylj@liuwe-devbox-debian-v2 \
--to=wei.liu@kernel.org \
--cc=Borislav@linux.microsoft.com \
--cc=Cui@linux.microsoft.com \
--cc=Dave@linux.microsoft.com \
--cc=Dexuan@linux.microsoft.com \
--cc=Gleixner@linux.microsoft.com \
--cc=H.PeterAnvin@linux.microsoft.com \
--cc=Haiyang@linux.microsoft.com \
--cc=Hansen@linux.microsoft.com \
--cc=Hicks@linux.microsoft.com \
--cc=Ingo@linux.microsoft.com \
--cc=K.Y.Srinivasan@linux.microsoft.com \
--cc=Liu@linux.microsoft.com \
--cc=Molnar@linux.microsoft.com \
--cc=Petkov@linux.microsoft.com \
--cc=Thomas@linux.microsoft.com \
--cc=Tyler@linux.microsoft.com \
--cc=Wei@linux.microsoft.com \
--cc=Zhang@linux.microsoft.com \
--cc=bp@alien8.de \
--cc=code@tyhicks.com \
--cc=dave.hansen@linux.intel.com \
--cc=decui@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=hpa@zytor.com \
--cc=kys@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mikelley@microsoft.com \
--cc=mingo@redhat.com \
--cc=niyelchu@linux.microsoft.com \
--cc=niyelchu@microsoft.com \
--cc=tglx@linutronix.de \
--cc=x86@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).