Skip to content

tty, serial: a couple of unrelated fixes

Jiri Slaby (SUSE) linux-serial stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3serial: 8250_exar: check priv->gpio properlydrivers/tty/serial/8250/8250_exar.c+1 -10 replies
2/3serial: 8250_hp300: reorder HPDCA codedrivers/tty/serial/8250/8250_hp300.c+26 -360 replies
3/3tty: fix misapplied compat_ptr() in tty_compat_ioctl()drivers/tty/tty_io.c+1 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] tty, serial: a couple of unrelated fixes

Three unrelated fixes which accumulated in my tree:
* 8250_exar: an error pointer could be stored into priv->gpio and later dereferenced on unbind, reported by Sashiko,
* 8250_hp300: a pure reorg to get rid of forward declarations and shrink the number of ifdefs,
* tty_io: compat_ptr() was applied to the wrong ioctl() argument since 2013.

Jiri Slaby (SUSE) (3):
serial: 8250_exar: check priv->gpio properly
serial: 8250_hp300: reorder HPDCA code
tty: fix misapplied compat_ptr() in tty_compat_ioctl()

 drivers/tty/serial/8250/8250_exar.c  |  2 +-
 drivers/tty/serial/8250/8250_hp300.c | 62 ++++++++++++----------------
 drivers/tty/tty_io.c                 |  3 +-
 3 files changed, 28 insertions(+), 39 deletions(-)
Signature · 1 line
2.56.0