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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250822133753.54300-1-raphael.gallais-pou@foss.st.com>
Date: Fri, 22 Aug 2025 15:37:53 +0200
From: Raphael Gallais-Pou <raphael.gallais-pou@...s.st.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Jiri Slaby
	<jirislaby@...nel.org>, Arnd Bergmann <arnd@...nel.org>,
        Andy Shevchenko
	<andriy.shevchenko@...ux.intel.com>,
        "Maciej W. Rozycki" <macro@...am.me.uk>,
        Douglas Anderson <dianders@...omium.org>,
        Zong Jiang
	<quic_zongjian@...cinc.com>,
        Robert Marko <robert.marko@...tura.hr>,
        "Thierry
 Bultel" <thierry.bultel.yh@...renesas.com>,
        Raphael Gallais-Pou
	<raphael.gallais-pou@...s.st.com>,
        Kartik Rajput <kkartik@...dia.com>,
        "Peter
 Hurley" <peter@...leysoftware.com>,
        Maxime Coquelin
	<mcoquelin.stm32@...il.com>,
        Vladimir Zapolskiy
	<vladimir_zapolskiy@...tor.com>,
        Antonio Borneo <antonio.borneo@...s.st.com>
CC: <linux-kernel@...r.kernel.org>, <linux-serial@...r.kernel.org>
Subject: [PATCH] serial: stm32: allow selecting console when the driver is module

Console can be enabled on the UART compile as module.
Change dependency to allow console mode when the driver is built as module.

Fixes: 48a6092fb41fa ("serial: stm32-usart: Add STM32 USART Driver")
Signed-off-by: Raphael Gallais-Pou <raphael.gallais-pou@...s.st.com>
---
 drivers/tty/serial/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/Kconfig b/drivers/tty/serial/Kconfig
index e661f5951f558..1e27a822c1cba 100644
--- a/drivers/tty/serial/Kconfig
+++ b/drivers/tty/serial/Kconfig
@@ -1420,7 +1420,7 @@ config SERIAL_STM32
 
 config SERIAL_STM32_CONSOLE
 	bool "Support for console on STM32"
-	depends on SERIAL_STM32=y
+	depends on SERIAL_STM32
 	select SERIAL_CORE_CONSOLE
 	select SERIAL_EARLYCON
 
-- 
2.25.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ