Re: [RFC V3 1/8] mm: Make ptrval_to_str() generally available
Mike Rapoport <[email protected]>
| Newsgroups | gmane.linux.uml.devel,gmane.linux.kernel.mm,gmane.linux.ports.alpha,gmane.linux.kernel.arc,gmane.linux.ports.arm.kernel,gmane.linux.ports.hexagon,gmane.linux.ports.mips,gmane.linux.ports.parisc,gmane.linux.ports.ppc64.devel,gmane.linux.ports.riscv,gmane.linux.ports.sh.devel,gmane.linux.ports.sparc,gmane.linux.kernel.cross-arch,gmane.linux.kernel |
|---|---|
| Message-ID | <178755645423.3606540.12945780031100652573.b4-review@b4> |
> 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 <[email protected]> > Cc: David Hildenbrand <[email protected]> > Cc: Lorenzo Stoakes <[email protected]> > Cc: [email protected] > Cc: [email protected] > Signed-off-by: Anshuman Khandual <[email protected]> I agree with David, include/linux/pgtable.h is better. Acked-by: Mike Rapoport (Microsoft) <[email protected]> -- Sincerely yours, Mike.