linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] serial: uartps: Dynamic allocation
@ 2018-04-23  9:50 Michal Simek
  2018-04-23  9:51 ` [PATCH 1/4] serial: uartps: Remove console_initcall from the driver Michal Simek
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Michal Simek @ 2018-04-23  9:50 UTC (permalink / raw)
  To: linux-kernel, monstr, Alan Cox, geert+renesas
  Cc: Jiri Slaby, linux-serial, Greg Kroah-Hartman, linux-arm-kernel

Hi,

this is the initial version before next step which is move
uart_register_driver to probe function.
I was able to get rid of static array with uart_port structures.
It was wired with console which is also fixed.
And the next step is the most complicated one handle .nr in uart_driver
structure in more generic way.

I am sending these patches as v1. RFC was sent in past
(https://www.spinics.net/lists/linux-serial/msg27106.html)
and I promised to wait till Geert's
"serial: xuartps: Fix out-of-bounds access through DT
alias" (sha1: e7d75e18d0fc3f7193b65282b651f980c778d935) is applied.

Thanks,
Michal


Michal Simek (4):
  serial: uartps: Remove console_initcall from the driver
  serial: uartps: Use dynamic array for console port
  serial: uartps: Move cnds_uart_get_port to probe
  serial: uartps: Remove static port array

 drivers/tty/serial/xilinx_uartps.c | 102 +++++++++++------------------
 1 file changed, 40 insertions(+), 62 deletions(-)

-- 
2.17.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-04-23  9:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23  9:50 [PATCH 0/4] serial: uartps: Dynamic allocation Michal Simek
2018-04-23  9:51 ` [PATCH 1/4] serial: uartps: Remove console_initcall from the driver Michal Simek
2018-04-23  9:51 ` [PATCH 2/4] serial: uartps: Use dynamic array for console port Michal Simek
2018-04-23  9:51 ` [PATCH 3/4] serial: uartps: Move cnds_uart_get_port to probe Michal Simek
2018-04-23  9:51 ` [PATCH 4/4] serial: uartps: Remove static port array Michal Simek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).