Thread (9 messages) flat view 9 messages, 4 authors, 2023-08-23

Re: [PATCH] powerpc: Make virt_to_pfn() a static inline

From: Linus Walleij <hidden>
Date: 2023-08-15 07:43:34
Also in: kvm, lkml

On Tue, Aug 15, 2023 at 9:30 AM Michael Ellerman [off-list ref] wrote:
Linus Walleij [off-list ref] writes:
quoted
-     return ((unsigned long)__va(pmd_val(pmd) & ~PMD_MASKED_BITS));
+     return (const void *)((unsigned long)__va(pmd_val(pmd) & ~PMD_MASKED_BITS));
This can also just be:

        return __va(pmd_val(pmd) & ~PMD_MASKED_BITS);

I've squashed that in.
Oh you applied it, then I don't need to send revised versions, thanks Michael!

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help