Re: [RFC V2 3/3] mm: Replace pgtable entry prints with new format
From: Andy Shevchenko
Date: Thu Jul 02 2026 - 05:31:46 EST
On Thu, Jul 02, 2026 at 02:34:22PM +0530, Anshuman Khandual wrote:
> On 02/07/26 1:02 PM, David Hildenbrand (Arm) wrote:
> > On 7/2/26 06:29, Anshuman Khandual wrote:
...
> > Can you take over this approach and refine it (and address Andy's comments)?
>
> Sure will do that.
> >
> > I'm not quite happy about the
> >
> > typeof(pud_val(pud)) entry = pud_val(pud);
> >
> > stuff, but I didn't see an easy (less ugly) way to avoid it. Maybe there is one :)
>
> Could __auto_type be an alternative ?
Just 'auto'? We should have a macro for the older/newer compiler versions.
--
With Best Regards,
Andy Shevchenko