diff options
author | Jiri Slaby <[email protected]> | 2022-09-20 07:20:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2022-09-22 16:14:08 +0200 |
commit | 8ca01f8f70d1e54cf033945ac3539f52b7334c34 (patch) | |
tree | 10f9f3f6d01ac29d3202b03b7e8c658cb0b7e197 /tools/perf/scripts | |
parent | 2a4be3a55cd2970aa8c45f6cd1cd9dce09061093 (diff) |
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 <[email protected]>
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions