[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87il9gcyw5.fsf@mail.lhotse>
Date: Tue, 15 Aug 2023 21:45:30 +1000
From: Michael Ellerman <mpe@...erman.id.au>
To: Linus Walleij <linus.walleij@...aro.org>
Cc: Nicholas Piggin <npiggin@...il.com>,
Christophe Leroy <christophe.leroy@...roup.eu>,
linuxppc-dev@...ts.ozlabs.org, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org
Subject: Re: [PATCH] powerpc: Make virt_to_pfn() a static inline
Linus Walleij <linus.walleij@...aro.org> writes:
> On Tue, Aug 15, 2023 at 9:30 AM Michael Ellerman <mpe@...erman.id.au> wrote:
>> Linus Walleij <linus.walleij@...aro.org> writes:
>
>> > - 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!
Yeah, it's in my next-test, so I can still change it if needed for a day
or two. But if you're happy with me squashing those changes in then
that's easy, no need to send a v2.
cheers
Powered by blists - more mailing lists