Re: [PATCH] powerpc: Fix signature of pfn_to_kaddr()
From: Linus Walleij
Date: Tue Nov 07 2023 - 03:06:58 EST
On Tue, Nov 7, 2023 at 6:57 AM Michael Ellerman <mpe@xxxxxxxxxxxxxx> 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