From: Saubhik Mukherjee <saubhik.mukherjee@gmail.com>
To: vgupta@synopsys.com, Greg KH <gregkh@linuxfoundation.org>,
Jiri Slaby <jirislaby@kernel.org>
Cc: linux-snps-arc@lists.infradead.org, linux-serial@vger.kernel.org,
linux-kernel@vger.kernel.org, ldv-project@linuxtesting.org,
Pavel Andrianov <andrianov@ispras.ru>
Subject: [question] De-registration does not remove port
Date: Wed, 23 Jun 2021 11:42:36 +0530 [thread overview]
Message-ID: <3e131267-e1b3-1b83-f8be-0577da479223@gmail.com> (raw)
In drivers/tty/serial/arc_uart.c, arc_serial_remove always returns 0,
instead of calling uart_remove_one_port to remove uart port from serial
core. The comment says "This will be never be called". In my
understanding, a port added using uart_add_one_port should be removed
during de-registration.
Is there a reason for this behavior?
next reply other threads:[~2021-06-23 6:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-23 6:12 Saubhik Mukherjee [this message]
2021-06-23 7:14 ` Greg KH
2021-06-24 13:03 ` Saubhik Mukherjee
2021-06-24 13:07 ` Greg KH
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=3e131267-e1b3-1b83-f8be-0577da479223@gmail.com \
--to=saubhik.mukherjee@gmail.com \
--cc=andrianov@ispras.ru \
--cc=gregkh@linuxfoundation.org \
--cc=jirislaby@kernel.org \
--cc=ldv-project@linuxtesting.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
--cc=linux-snps-arc@lists.infradead.org \
--cc=vgupta@synopsys.com \
/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
all inboxes | Powered by JetHome®