diff options
| author | Michael Kelley <[email protected]> | 2024-05-03 15:43:11 +0000 |
|---|---|---|
| committer | Wei Liu <[email protected]> | 2024-05-28 05:26:01 +0000 |
| commit | bb3ca38ef7aa56dcfa7f6e81675c7a39d5ee9bf1 (patch) | |
| tree | a97a9cea2ffe9de0b6d642f49ec0657be71b261b /tools/testing/radix-tree/bitmap.c | |
| parent | Linux 6.10-rc1 (diff) | |
| download | kernel-bb3ca38ef7aa56dcfa7f6e81675c7a39d5ee9bf1.tar.gz kernel-bb3ca38ef7aa56dcfa7f6e81675c7a39d5ee9bf1.zip | |
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 <[email protected]>
Signed-off-by: Michael Kelley <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'tools/testing/radix-tree/bitmap.c')
0 files changed, 0 insertions, 0 deletions
