Re: [PATCH v3 1/2] hv_balloon: Use kernel macros to simplify open coded sequences
From: Wei Liu
Date: Tue May 28 2024 - 01:26:57 EST
On Fri, May 03, 2024 at 08:43:11AM -0700, mhkelley58@xxxxxxxxx wrote:
> From: Michael Kelley <mhklinux@xxxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Signed-off-by: Michael Kelley <mhklinux@xxxxxxxxxxx>
Applied. Thanks.