diff options
author | Johan Hovold <[email protected]> | 2023-04-12 14:48:11 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2023-04-20 13:42:24 +0200 |
commit | 9e4f2a8004213339e9d837d891a59cc80e082966 (patch) | |
tree | 84e6aa618a11ec967de1a5e2738dac27265cf8f4 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | c6c01763f24c40ec1a5faeb260632fdf0824bb72 (diff) |
serial: fix TIOCSRS485 locking
The RS485 multipoint addressing support for some reason added a new
ADDRB termios cflag which is (only!) updated from one of the RS485
ioctls.
Make sure to take the termios rw semaphore for the right ioctl (i.e.
set, not get).
Fixes: ae50bb275283 ("serial: take termios_rwsem for ->rs485_config() & pass termios as param")
Cc: [email protected] # 6.0
Cc: Ilpo Järvinen <[email protected]>
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions