diff mbox

arm64: Kconfig: select COMPAT_BINFMT_ELF only when BINFMT_ELF is set

Message ID 1485400795-51078-1-git-send-email-wangkefeng.wang@huawei.com
State Accepted
Commit 2e449048a25eb75d48dff12882b93f26d130a1c6
Headers show

Commit Message

Kefeng Wang Jan. 26, 2017, 3:19 a.m. UTC
Fix warning:
"(COMPAT) selects COMPAT_BINFMT_ELF which has unmet direct dependencies
(COMPAT && BINFMT_ELF)"

Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>

---
 arch/arm64/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
1.7.12.4


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

Comments

Will Deacon Jan. 26, 2017, 12:20 p.m. UTC | #1
On Thu, Jan 26, 2017 at 11:19:55AM +0800, Kefeng Wang wrote:
> Fix warning:

> "(COMPAT) selects COMPAT_BINFMT_ELF which has unmet direct dependencies

> (COMPAT && BINFMT_ELF)"

> 

> Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>

> ---

>  arch/arm64/Kconfig | 2 +-

>  1 file changed, 1 insertion(+), 1 deletion(-)


Thanks, applied for 4.11.

Will

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
diff mbox

Patch

diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
index 1117421..4428673 100644
--- a/arch/arm64/Kconfig
+++ b/arch/arm64/Kconfig
@@ -1010,7 +1010,7 @@  source "fs/Kconfig.binfmt"
 config COMPAT
 	bool "Kernel support for 32-bit EL0"
 	depends on ARM64_4K_PAGES || EXPERT
-	select COMPAT_BINFMT_ELF
+	select COMPAT_BINFMT_ELF if BINFMT_ELF
 	select HAVE_UID16
 	select OLD_SIGSUSPEND3
 	select COMPAT_OLD_SIGACTION