diff options
author | Jiri Slaby <jslaby@suse.cz> | 2021-06-18 08:14:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-18 13:09:59 +0200 |
commit | a93963e41ffeff71a735f4fab95d2cbacd9da7a8 (patch) | |
tree | 5ba4bdabd20fd1f903eb14b3d12c0de321e3ba53 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6de6e5c4becb5494d09d44ce4db1c54dc43afbae (diff) |
mxser: correct types for uart variables
In struct mxser_port, all the UART registers and masks, and the xon/xoff
character are stored into int. Let's re-type all these as UART registers
are 8bit (u8) and xon/xoff character is an unsigned char (cc_t in
ktermios).
This save some bytes in memory, but more importantly the change makes it
what it really is.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-19-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions