diff options
author | 2023-06-21 12:16:10 +0200 | |
---|---|---|
committer | 2023-06-21 17:57:29 +0200 | |
commit | e64ed44bce43e003dd154c0bc418a431c15bdf77 (patch) | |
tree | a0da85b38568c7d62cf34133a180ff9a091e4f6d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | tty_audit: make icanon a bool (diff) | |
download | wireguard-linux-e64ed44bce43e003dd154c0bc418a431c15bdf77.tar.xz wireguard-linux-e64ed44bce43e003dd154c0bc418a431c15bdf77.zip |
tty_audit: make tty pointers in exposed functions const
Both tty_audit_add_data() and tty_audit_tiocsti() need only to read from
the tty struct, so make the tty parameters of them both const. This
aids the compiler a bit.
Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230621101611.10580-6-jirislaby@kernel.org
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