From: Wei Liu <wei.liu@kernel.org>
To: mhklinux@outlook.com
Cc: haiyangz@microsoft.com, wei.liu@kernel.org, decui@microsoft.com,
linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org,
david@redhat.com
Subject: Re: [PATCH v3 1/2] hv_balloon: Use kernel macros to simplify open coded sequences
Date: Tue, 28 May 2024 05:26:45 +0000 [thread overview]
Message-ID: <ZlVrFUIFLxxDpyCo@liuwe-devbox-debian-v2> (raw)
In-Reply-To: <20240503154312.142466-1-mhklinux@outlook.com>
On Fri, May 03, 2024 at 08:43:11AM -0700, mhkelley58@gmail.com wrote:
> From: Michael Kelley <mhklinux@outlook.com>
>
> Code sequences equivalent to ALIGN(), ALIGN_DOWN(), and umin() are
> currently open coded. Change these to use the kernel macro to
> improve code clarity. ALIGN() and ALIGN_DOWN() require the
> alignment value to be a power of 2, which is the case here.
>
> Reviewed-by: David Hildenbrand <david@redhat.com>
> Signed-off-by: Michael Kelley <mhklinux@outlook.com>
Applied. Thanks.
prev parent reply other threads:[~2024-05-28 5:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-03 15:43 [PATCH v3 1/2] hv_balloon: Use kernel macros to simplify open coded sequences mhkelley58
2024-05-03 15:43 ` [PATCH v3 2/2] hv_balloon: Enable hot-add for memblock sizes > 128 MiB mhkelley58
2024-05-28 5:26 ` 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=ZlVrFUIFLxxDpyCo@liuwe-devbox-debian-v2 \
--to=wei.liu@kernel.org \
--cc=david@redhat.com \
--cc=decui@microsoft.com \
--cc=haiyangz@microsoft.com \
--cc=linux-hyperv@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mhklinux@outlook.com \
/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).