Re: [PATCH -next v4] arm64: fix build warning for ARM64_MEMSTART_SHIFT
From: Will Deacon
Date: Fri Aug 04 2023 - 14:11:05 EST
On Fri, 4 Aug 2023 15:56:15 +0800, Zhang Jianhua wrote:
> When building with W=1, the following warning occurs.
>
> arch/arm64/include/asm/kernel-pgtable.h:129:41: error: "PUD_SHIFT" is not defined, evaluates to 0 [-Werror=undef]
> 129 | #define ARM64_MEMSTART_SHIFT PUD_SHIFT
> | ^~~~~~~~~
> arch/arm64/include/asm/kernel-pgtable.h:142:5: note: in expansion of macro ‘ARM64_MEMSTART_SHIFT’
> 142 | #if ARM64_MEMSTART_SHIFT < SECTION_SIZE_BITS
> | ^~~~~~~~~~~~~~~~~~~~
>
> [...]
Applied to arm64 (for-next/mm), thanks!
[1/1] arm64: fix build warning for ARM64_MEMSTART_SHIFT
https://git.kernel.org/arm64/c/4e0bacd65e72
Cheers,
--
Will
https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev