diff options
author | 2021-06-18 08:14:18 +0200 | |
---|---|---|
committer | 2021-06-18 13:09:59 +0200 | |
commit | 15517806037c8633ff44e6cd2099d3de22233b4a (patch) | |
tree | 84fdddcb31788827ae3925bbf6458d38d87995c0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | mxser: remove nonsense from ISR (diff) | |
download | linux-dev-15517806037c8633ff44e6cd2099d3de22233b4a.tar.xz linux-dev-15517806037c8633ff44e6cd2099d3de22233b4a.zip |
mxser: cleanup LSR handling in mxser_receive_chars
mxser_interrupt is a bit confusing as it passes a pointer to LSR
variable ("status") to mxser_receive_chars. That function can indeed
update the LCR variable. Make this clear by not passing a variable by
reference, instead, return updated status. And change its type
accordingly -- to u8.
Note that the next patches will rework ISR so that even the definition
of status will be u8 soon too.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-13-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