[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170866263011.22939.3026249859816795239.git-patchwork-notify@kernel.org>
Date: Fri, 23 Feb 2024 04:30:30 +0000
From: patchwork-bot+linux-riscv@...nel.org
To: Alexandre Ghiti <alexghiti@...osinc.com>
Cc: linux-riscv@...ts.infradead.org, paul.walmsley@...ive.com,
palmer@...belt.com, aou@...s.berkeley.edu, linux-kernel@...r.kernel.org,
lkp@...el.com
Subject: Re: [PATCH -fixes] riscv: Fix build error if
!CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@...osinc.com>:
On Sun, 11 Feb 2024 09:36:40 +0100 you wrote:
> The new riscv specific arch_hugetlb_migration_supported() must be
> guarded with a #ifdef CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION to avoid
> the following build error:
>
> In file included from include/linux/hugetlb.h:851,
> from kernel/fork.c:52:
> >> arch/riscv/include/asm/hugetlb.h:15:42: error: static declaration of 'arch_hugetlb_migration_supported' follows non-static declaration
> 15 | #define arch_hugetlb_migration_supported arch_hugetlb_migration_supported
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> include/linux/hugetlb.h:916:20: note: in expansion of macro 'arch_hugetlb_migration_supported'
> 916 | static inline bool arch_hugetlb_migration_supported(struct hstate *h)
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> arch/riscv/include/asm/hugetlb.h:14:6: note: previous declaration of 'arch_hugetlb_migration_supported' with type 'bool(struct hstate *)' {aka '_Bool(struct hstate *)'}
> 14 | bool arch_hugetlb_migration_supported(struct hstate *h);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> [...]
Here is the summary with links:
- [-fixes] riscv: Fix build error if !CONFIG_ARCH_ENABLE_HUGEPAGE_MIGRATION
https://git.kernel.org/riscv/c/fc325b1a915f
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists