[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <3e131267-e1b3-1b83-f8be-0577da479223@gmail.com>
Date: Wed, 23 Jun 2021 11:42:36 +0530
From: Saubhik Mukherjee <saubhik.mukherjee@...il.com>
To: vgupta@...opsys.com, Greg KH <gregkh@...uxfoundation.org>,
Jiri Slaby <jirislaby@...nel.org>
Cc: linux-snps-arc@...ts.infradead.org, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org, ldv-project@...uxtesting.org,
Pavel Andrianov <andrianov@...ras.ru>
Subject: [question] De-registration does not remove port
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?
Powered by blists - more mailing lists