Messages in this thread | | | From | Catalin Marinas <> | Subject | Re: [PATCH] arm64: fix clang warning about TRAMP_VALIAS | Date | Fri, 18 Mar 2022 18:10:28 +0000 |
| |
On Wed, 16 Mar 2022 19:38:18 +0100, Arnd Bergmann wrote: > From: Arnd Bergmann <arnd@arndb.de> > > The newly introduced TRAMP_VALIAS definition causes a build warning > with clang-14: > > arch/arm64/include/asm/vectors.h:66:31: error: arithmetic on a null pointer treated as a cast from integer to pointer is a GNU extension [-Werror,-Wnull-pointer-arithmetic] > return (char *)TRAMP_VALIAS + SZ_2K * slot; > > [...]
Applied to arm64 (for-next/fixes), thanks!
[1/1] arm64: fix clang warning about TRAMP_VALIAS https://git.kernel.org/arm64/c/7f34b43e07cb
-- Catalin
| |