]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bitmap: switch test to scnprintf("%*pbl")
authorYury Norov <ynorov@nvidia.com>
Thu, 19 Feb 2026 18:13:57 +0000 (13:13 -0500)
committerYury Norov <ynorov@nvidia.com>
Mon, 23 Mar 2026 17:33:51 +0000 (13:33 -0400)
commitd1a43793c484e4f1e896dd2fee52b034f8c4f965
treed5abf5064d6afb0ebba4d80d4e94f67e1286c66f
parent6b5a4b68736798df1031404a2fad06d031253ef7
bitmap: switch test to scnprintf("%*pbl")

scnprintf("%*pbl") is more verbose than bitmap_print_to_pagebuf().
Switch the test to using it. This also improves the test output
because bitmap_print_to_pagebuf() adds \n at the end of the printed
bitmap, which breaks the test format.

Signed-off-by: Yury Norov <ynorov@nvidia.com>
lib/test_bitmap.c