Linux Serial subsystem development
 help / color / mirror / Atom feed
From: Omer Faruk BULUT <m.omerfarukbulut@gmail.com>
To: gregkh@linuxfoundation.org
Cc: jirislaby@kernel.org, pmladek@suse.com,
	andriy.shevchenko@linux.intel.com, paulmck@kernel.org,
	john.ogness@linutronix.de, tony@atomide.com, arnd@arndb.de,
	u.kleine-koenig@pengutronix.de, linux-kernel@vger.kernel.org,
	linux-serial@vger.kernel.org,
	Omer Faruk BULUT <m.omerfarukbulut@gmail.com>
Subject: [PATCH 2/2] 8250_core.c : Global variable shouldn't be initialized to NULL
Date: Mon, 14 Oct 2024 21:04:15 +0300	[thread overview]
Message-ID: <20241014180415.2365-1-m.omerfarukbulut@gmail.com> (raw)

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

Signed-by-off: Omer Faruk BULUT <m.omerfarukbulut@gmail.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


             reply	other threads:[~2024-10-14 18:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14 18:04 Omer Faruk BULUT [this message]
2024-10-15 11:34 ` [PATCH 2/2] 8250_core.c : Global variable shouldn't be initialized to NULL Andy Shevchenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20241014180415.2365-1-m.omerfarukbulut@gmail.com \
    --to=m.omerfarukbulut@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=arnd@arndb.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=jirislaby@kernel.org \
    --cc=john.ogness@linutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=paulmck@kernel.org \
    --cc=pmladek@suse.com \
    --cc=tony@atomide.com \
    --cc=u.kleine-koenig@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox