* [PATCH 0/2] bitmap: drop bitmap_print_to_pagebuf()
@ 2026-04-28 19:37 Yury Norov
0 siblings, 0 replies; 2+ messages in thread
From: Yury Norov @ 2026-04-28 19:37 UTC (permalink / raw)
To: Yury Norov, Rasmus Villemoes, Andrew Morton, linux-kernel; +Cc: Yury Norov
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 0/2] bitmap: drop bitmap_print_to_pagebuf()
@ 2026-05-19 16:30 Yury Norov
0 siblings, 0 replies; 2+ messages in thread
From: Yury Norov @ 2026-05-19 16:30 UTC (permalink / raw)
To: Yury Norov, Rasmus Villemoes, Andrew Morton, linux-kernel
Cc: Yury Norov, Thorsten Blum, Lorenzo Stoakes,
David Hildenbrand (Arm),
Andy Shevchenko, William Kucharski
bitmap_print_to_pagebuf() users are now all switched to more
straightforward alternative. The last one is cpumap_print_to_pagebuf()
helper in linux/cpumask.h.
Switch it to scnprintf(), and drop the 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 | 7 +++++--
lib/bitmap-str.c | 42 +++++---------------------------------
3 files changed, 10 insertions(+), 40 deletions(-)
--
2.51.0
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-19 16:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-28 19:37 [PATCH 0/2] bitmap: drop bitmap_print_to_pagebuf() Yury Norov
2026-05-19 16:30 Yury Norov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®