diff options
author | 2023-08-27 09:41:39 +0200 | |
---|---|---|
committer | 2023-08-27 11:46:52 +0200 | |
commit | 819287f0f335cf74d6486eb7f3d465b9668bc9d8 (patch) | |
tree | 26998aa948c7e6af4d5379db1f0a3b8297fc87f4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | tty: n_tty: make n_tty_data::num_overrun unsigned (diff) | |
download | wireguard-linux-819287f0f335cf74d6486eb7f3d465b9668bc9d8.tar.xz wireguard-linux-819287f0f335cf74d6486eb7f3d465b9668bc9d8.zip |
tty: n_tty: use MASK() for masking out size bits
In n_tty, there is already a macro to mask out top bits from ring buffer
counters. It is MASK() added some time ago. So use it more in the code
to make it more readable.
Signed-off-by: "Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230827074147.2287-7-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions