summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_re.py
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 /scripts/lib/kdoc/kdoc_re.py
parentab17ead0e0ee8650cd1cf4e481b1ed0ee9731956 (diff)
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 'scripts/lib/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions