Re: [PATCH V3 6/8] mm: and drivers core: Convert hugetlb_report_node_meminfo to sysfs_emit

From: Mike Kravetz
Date: Fri Sep 18 2020 - 16:29:38 EST

On 9/16/20 1:40 PM, Joe Perches wrote:
> Convert the unbound sprintf in hugetlb_report_node_meminfo to use
> sysfs_emit_at so that no possible overrun of a PAGE_SIZE buf can occur.
> Signed-off-by: Joe Perches <joe@xxxxxxxxxxx>

Acked-by: Mike Kravetz <mike.kravetz@xxxxxxxxxx>

Mike Kravetz