On Wed, 2 Apr 2025 12:21:49 +0300 Mike Rapoport <[email protected]> wrote:
> > + if (size & ~PAGE_MASK) {
> > + pr_warn("Tracing: mapping size %lx is not page
> > aligned\n",
> > + (unsigned long)size);
> > + continue;
> > + }
>
> Better use %pa for printing physical address as on 32-bit systems
> phys_addr_t may be unsigned long long:
>
> pr_warn("Tracing: mapping size %pa is not page aligned\n", &size);
Thanks, will update.
-- Steve
