linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] two fixes on sprd serial driver
@ 2020-03-18 10:50 Chunyan Zhang
  2020-03-18 10:50 ` [PATCH v3 1/2] serial: sprd: getting port index via serial aliases only Chunyan Zhang
  2020-03-18 10:50 ` [PATCH v3 2/2] serial: sprd: remove redundant sprd_port cleanup Chunyan Zhang
  0 siblings, 2 replies; 5+ messages in thread
From: Chunyan Zhang @ 2020-03-18 10:50 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Jiri Slaby
  Cc: linux-serial, linux-kernel, Orson Zhai, Baolin Wang,
	Chunyan Zhang, Chunyan Zhang

From: Chunyan Zhang <chunyan.zhang@unisoc.com>

Changes from v2:
* Return -EINVAL for both kinds of errors for calling of_alias_get_id(),
to avoid return a positive value as error number if index is larger
than the array size;
* removed cleanup for sprd_port.

Chunyan Zhang (2):
  serial: sprd: getting port index via serial alias only
  serial: sprd: remove redundant sprd_port cleanup

 drivers/tty/serial/sprd_serial.c | 40 +++++---------------------------
 1 file changed, 6 insertions(+), 34 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2020-03-18 10:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-18 10:50 [PATCH v3 0/2] two fixes on sprd serial driver Chunyan Zhang
2020-03-18 10:50 ` [PATCH v3 1/2] serial: sprd: getting port index via serial aliases only Chunyan Zhang
2020-03-18 10:54   ` Baolin Wang
2020-03-18 10:50 ` [PATCH v3 2/2] serial: sprd: remove redundant sprd_port cleanup Chunyan Zhang
2020-03-18 10:55   ` Baolin Wang

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).