[PATCH 0/2] bitmap: drop bitmap_print_to_pagebuf()

From: Yury Norov

Date: Tue Apr 28 2026 - 15:38:11 EST


The function has a long story of misuse. Now that all non-lib users are
switched to the scnprintf(), switch the last user in cpumasks to it, and
get rid of bitmap_print_to_pagebuf().

Yury Norov (2):
cpumask: switch cpumap_print_to_pagebuf() to using scnprintf()
bitmap: drop bitmap_print_to_pagebuf()

include/linux/bitmap-str.h | 1 -
include/linux/cpumask.h | 17 +--------------
lib/bitmap-str.c | 42 +++++---------------------------------
lib/cpumask.c | 17 +++++++++++++++
4 files changed, 23 insertions(+), 54 deletions(-)

--
2.51.0