diff options
author | Michael Kelley <mhklinux@outlook.com> | 2024-05-03 08:43:11 -0700 |
---|---|---|
committer | Wei Liu <wei.liu@kernel.org> | 2024-05-28 05:26:01 +0000 |
commit | bb3ca38ef7aa56dcfa7f6e81675c7a39d5ee9bf1 (patch) | |
tree | a97a9cea2ffe9de0b6d642f49ec0657be71b261b /CREDITS | |
parent | 1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff) |
hv_balloon: Use kernel macros to simplify open coded sequences
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>
Link: https://lore.kernel.org/r/20240503154312.142466-1-mhklinux@outlook.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Message-ID: <20240503154312.142466-1-mhklinux@outlook.com>
Diffstat (limited to 'CREDITS')
0 files changed, 0 insertions, 0 deletions