aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJohn Garry <john.g.garry@oracle.com>2025-07-11 10:52:53 +0000
committerJens Axboe <axboe@kernel.dk>2025-07-17 06:01:16 -0600
commit6381061d82141909c382811978ccdd7566698bca (patch)
treee4b11307fdd1b8cee0878c16268862996f8e00bf /lib/crypto/mpi/mpi-sub-ui.c
parentblock: fix blk_zone_append_update_request_bio() kernel-doc (diff)
downloadlinux-6381061d82141909c382811978ccdd7566698bca.tar.gz
linux-6381061d82141909c382811978ccdd7566698bca.zip
ilog2: add max_pow_of_two_factor()
Relocate the function max_pow_of_two_factor() to common ilog2.h from the xfs code, as it will be used elsewhere. Also simplify the function, as advised by Mikulas Patocka. Signed-off-by: John Garry <john.g.garry@oracle.com> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Link: https://lore.kernel.org/r/20250711105258.3135198-2-john.g.garry@oracle.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions