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: <20241014180415.2365-1-m.omerfarukbulut@gmail.com>
Date: Mon, 14 Oct 2024 21:04:15 +0300
From: Omer Faruk BULUT <m.omerfarukbulut@...il.com>
To: gregkh@...uxfoundation.org
Cc: jirislaby@...nel.org,
	pmladek@...e.com,
	andriy.shevchenko@...ux.intel.com,
	paulmck@...nel.org,
	john.ogness@...utronix.de,
	tony@...mide.com,
	arnd@...db.de,
	u.kleine-koenig@...gutronix.de,
	linux-kernel@...r.kernel.org,
	linux-serial@...r.kernel.org,
	Omer Faruk BULUT <m.omerfarukbulut@...il.com>
Subject: [PATCH 2/2] 8250_core.c : Global variable shouldn't be initialized to NULL

I check it with checkpatch. Then remove the NULL part.

Signed-by-off: Omer Faruk BULUT <m.omerfarukbulut@...il.com>
---
 drivers/tty/serial/8250/8250_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/8250/8250_core.c b/drivers/tty/serial/8250/8250_core.c
index 5f9f06911795..435396233863 100644
--- a/drivers/tty/serial/8250/8250_core.c
+++ b/drivers/tty/serial/8250/8250_core.c
@@ -304,7 +304,7 @@ static void univ8250_release_irq(struct uart_8250_port *up)
 		serial_unlink_irq_chain(up);
 }
 
-const struct uart_ops *univ8250_port_base_ops = NULL;
+const struct uart_ops *univ8250_port_base_ops;
 struct uart_ops univ8250_port_ops;
 
 static const struct uart_8250_ops univ8250_driver_ops = {
-- 
2.17.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ