diff options
author | Joe Perches <joe@perches.com> | 2020-09-16 22:40:44 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-10-02 13:24:40 +0200 |
commit | e015e036aea58fe5b7f92d2d4fff9f4364e649c8 (patch) | |
tree | 08213ad24192567287d3030f64c95383ba78c5e0 /drivers/base/Kconfig | |
parent | mm: and drivers core: Convert hugetlb_report_node_meminfo to sysfs_emit (diff) | |
download | linux-e015e036aea58fe5b7f92d2d4fff9f4364e649c8.tar.xz linux-e015e036aea58fe5b7f92d2d4fff9f4364e649c8.zip |
drivers core: Use sysfs_emit for shared_cpu_map_show and shared_cpu_list_show
Do not indirect the bitmap printing of these shared_cpu show functions by
using cpumap_print_to_pagebuf/bitmap_print_to_pagebuf.
Use the more typical style with the vsnprintf %*pb and %*pbl extensions
directly so there is no possible mixup about the use of offset_in_page(buf)
by bitmap_print_to_pagebuf.
Signed-off-by: Joe Perches <joe@perches.com>
Link: https://lore.kernel.org/r/80457b467ab6cde13a173cfd8a4f49cd8467a7fd.1600285923.git.joe@perches.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/Kconfig')
0 files changed, 0 insertions, 0 deletions