diff options
author | Jiri Slaby <jslaby@suse.cz> | 2022-09-20 08:20:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-09-22 17:14:08 +0300 |
commit | 8ca01f8f70d1e54cf033945ac3539f52b7334c34 (patch) | |
tree | 10f9f3f6d01ac29d3202b03b7e8c658cb0b7e197 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2a4be3a55cd2970aa8c45f6cd1cd9dce09061093 (diff) | |
download | linux-8ca01f8f70d1e54cf033945ac3539f52b7334c34.tar.xz |
tty: serial: switch mpc52xx_uart_int_{r,t}x_chars() to bool
mpc52xx_uart_int_rx_chars() returns unsigned int.
mpc52xx_uart_int_tx_chars() returns int.
The both results are binary ORed to the "keepgoing" variable. Unify all
three to bool as the only interesting value is whether we should keep
looping (true/false).
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20220920052049.20507-7-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions