[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169279175548.797584.16810981257080808003.b4-ty@ellerman.id.au>
Date: Wed, 23 Aug 2023 21:55:55 +1000
From: Michael Ellerman <patch-notifications@...erman.id.au>
To: Nicholas Piggin <npiggin@...il.com>,
Christophe Leroy <christophe.leroy@...roup.eu>,
Linus Walleij <linus.walleij@...aro.org>
Cc: 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
On Wed, 09 Aug 2023 10:07:13 +0200, Linus Walleij wrote:
> Making virt_to_pfn() a static inline taking a strongly typed
> (const void *) makes the contract of a passing a pointer of that
> type to the function explicit and exposes any misuse of the
> macro virt_to_pfn() acting polymorphic and accepting many types
> such as (void *), (unitptr_t) or (unsigned long) as arguments
> without warnings.
>
> [...]
Applied to powerpc/next.
[1/1] powerpc: Make virt_to_pfn() a static inline
https://git.kernel.org/powerpc/c/58b6fed89ab0f602de0d143c617c29c3d4c67429
cheers
Powered by blists - more mailing lists