diff options
author | Jiri Slaby <jirislaby@kernel.org> | 2023-06-21 12:16:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-21 17:57:29 +0200 |
commit | e64ed44bce43e003dd154c0bc418a431c15bdf77 (patch) | |
tree | a0da85b38568c7d62cf34133a180ff9a091e4f6d /tools/perf/scripts/python/stackcollapse.py | |
parent | 3e540a7bad8534a9b8845defa051834c9694d86c (diff) |
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions