Re: [PATCH v2 1/2] hv_balloon: Use kernel macros to simplify open coded sequences

From: David Hildenbrand
Date: Thu May 02 2024 - 03:06:53 EST


On 01.05.24 17:14, 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.

Signed-off-by: Michael Kelley <mhklinux@xxxxxxxxxxx>
---
Changes in v2:
* No changes. This is a new patch that goes with v2 of patch 2 of this series.


Reviewed-by: David Hildenbrand <david@xxxxxxxxxx>


--
Cheers,

David / dhildenb