lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210326185554.30993-1-julianbraha@gmail.com>
Date:   Fri, 26 Mar 2021 14:55:54 -0400
From:   Julian Braha <julianbraha@...il.com>
To:     ley.foon.tan@...el.com
Cc:     linux-kernel@...r.kernel.org, fazilyildiran@...il.com
Subject: [PATCH] arch: nios2: fix unmet dependency for SERIAL_CORE_CONSOLE

When EARLY_PRINTK is enabled and TTY is disabled,
Kbuild gives the following warning:

WARNING: unmet direct dependencies detected for SERIAL_CORE_CONSOLE
  Depends on [n]: TTY [=n] && HAS_IOMEM [=y]
  Selected by [y]:
  - EARLY_PRINTK [=y]

This is because EARLY_PRINTK selects SERIAL_CORE_CONSOLE
without selecting or depending on TTY, despite
SERIAL_CORE_CONSOLE depending on TTY.

Signed-off-by: Julian Braha <julianbraha@...il.com>
---
 arch/nios2/Kconfig.debug | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/nios2/Kconfig.debug b/arch/nios2/Kconfig.debug
index a8bc06e96ef5..f453d5c1fd38 100644
--- a/arch/nios2/Kconfig.debug
+++ b/arch/nios2/Kconfig.debug
@@ -3,6 +3,7 @@
 config EARLY_PRINTK
 	bool "Activate early kernel debugging"
 	default y
+	depends on TTY
 	select SERIAL_CORE_CONSOLE
 	help
 	  Enable early printk on console
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ