[PATCH] powerpc: Fix signature of pfn_to_kaddr()

Linus Walleij linus.walleij at linaro.org
Tue Nov 7 19:06:41 AEDT 2023


On Tue, Nov 7, 2023 at 6:57 AM Michael Ellerman <mpe at ellerman.id.au> wrote:

> I'm struggling to connect the removal of const with those bug reports.
> It looks like all those warnings are about 0xc000000000000000 being
> outside the range of unsigned long when building 32-bit.

Aha right. I wonder what actually causes that.

> Is it the right bug report link?

Yeah I'm just bad at understanding these reports.

> The current signature of:
>
>   static inline const void *pfn_to_kaddr(unsigned long pfn) ...
>
> seems OK to me.

OK then, drop this patch.

Yours,
Linus Walleij


More information about the Linuxppc-dev mailing list