diff options
| author | Johan Hovold <johan@kernel.org> | 2026-09-10 15:08:13 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-23 12:00:42 +0200 |
| commit | f658e6bcd00a4eafaa9c98c0b7483cc2c5dac539 (patch) | |
| tree | fd0f0b2b657788d98c159fac10f713a6e82fd151 /tools/lib/python | |
| parent | b48820de8c1a596c5b99775524dfce73c6576c5d (diff) | |
| download | linux-next-f658e6bcd00a4eafaa9c98c0b7483cc2c5dac539.tar.gz linux-next-f658e6bcd00a4eafaa9c98c0b7483cc2c5dac539.zip | |
serial: revert guards in uart_wait_modem_status()
Mixing scope-based and regular cleanup is discouraged and
uart_port_deref() used by uart_wait_modem_status() falls in the latter
category.
Revert the guard conversion in preparation for fixing a hangup race.
Fixes: 56609c050051 ("serial: serial_core: use guard()s")
Cc: stable@kernel.org # 6.18
Cc: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260910130816.642699-2-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
