crypto: af_alg - use DIV_ROUND_UP helper macro for calculations
authorWu Bo <wubo40@huawei.com>
Tue, 25 May 2021 08:15:19 +0000 (16:15 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 3 Jun 2021 12:24:04 +0000 (20:24 +0800)
commit7551a074700a4093f5556a5ae51c1f83ea6b96ba
treefcfe55c52471518d35cb7cdce82605c314e0d9dc
parente9009fb227fa66a66cef02a36fb51c288f411e0d
crypto: af_alg - use DIV_ROUND_UP helper macro for calculations

Replace open coded divisor calculations with the DIV_ROUND_UP kernel
macro for better readability.

Signed-off-by: Wu Bo <wubo40@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/af_alg.c