[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <164762664707.829336.4467700903354005127.b4-ty@arm.com>
Date: Fri, 18 Mar 2022 18:10:28 +0000
From: Catalin Marinas <catalin.marinas@....com>
To: Will Deacon <will@...nel.org>, James Morse <james.morse@....com>,
Arnd Bergmann <arnd@...nel.org>,
Nathan Chancellor <nathan@...nel.org>,
Nick Desaulniers <ndesaulniers@...gle.com>
Cc: llvm@...ts.linux.dev,
"Russell King (Oracle)" <rmk+kernel@...linux.org.uk>,
linux-arm-kernel@...ts.infradead.org,
Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] arm64: fix clang warning about TRAMP_VALIAS
On Wed, 16 Mar 2022 19:38:18 +0100, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@...db.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
Powered by blists - more mailing lists