Re: [RFC V3 1/8] mm: Make ptrval_to_str() generally available

From
David Hildenbrand (Arm) <david@kernel.org>
Date
2026-08-18 17:25:17
Also in
linux-alpha, linux-arch, linux-arm-kernel, linux-m68k, linux-mips, linux-mm, linux-riscv, linux-s390, linux-sh, linux-um, lkml, loongarch, sparclinux
Reply to
Anshuman Khandual, 2026-08-18
On 8/18/26 06:00, Anshuman Khandual wrote:
Move ptrval_to_str() inside a header thus making the helper more generally
available for new users which are being added later. While here, also move
another related string size macro PTVAL_STR_MAX inside the header as well.

Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: David Hildenbrand <david@kernel.org>
Cc: Lorenzo Stoakes <ljs@kernel.org>
Cc: <redacted>
Cc: <redacted>
Signed-off-by: Anshuman Khandual <redacted>
---
I would have placed that into include/linux/pgtable.h. Any particular reason for
mm_types?

Acked-by: David Hildenbrand (Arm) <david@kernel.org>

-- 
Cheers,

David
Thread (21 messages) 21 messages, 4 authors, last reply 2026-08-27
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help