aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorMichael Kelley <[email protected]>2024-05-03 08:43:11 -0700
committerWei Liu <[email protected]>2024-05-28 05:26:01 +0000
commitbb3ca38ef7aa56dcfa7f6e81675c7a39d5ee9bf1 (patch)
treea97a9cea2ffe9de0b6d642f49ec0657be71b261b /lib/crypto/mpi/mpi-sub-ui.c
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (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 <[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 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions