aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2020-03-10 19:43:37 +0200
committerGreg Kroah-Hartman <[email protected]>2020-03-12 17:16:42 +0100
commitda9a5aa3402db0ff3b57216d8dbf2478e1046cae (patch)
tree68a1c9251658275b2f7f8604f2d6d5277d034ebc /tools/perf/scripts/python
parente140ef36925f54770fccb8e42be8cc8365221b51 (diff)
serial: core: Refactor uart_unlock_and_check_sysrq()
Refactor uart_unlock_and_check_sysrq() to: - explicitly show that we release a port lock which makes static analyzers happy: CHECK drivers/tty/serial/serial_core.c .../serial_core.c:3290:17: warning: context imbalance in 'uart_unlock_and_check_sysrq' - unexpected unlock - use flags instead of irqflags to avoid confusion with IRQ flags - provide one return point - be more compact Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Dmitry Safonov <[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')
0 files changed, 0 insertions, 0 deletions