Searched hist:e64ed44b (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/tty/ |
H A D | tty.h | e64ed44b Wed Jun 21 05:16:10 CDT 2023 Jiri Slaby <jirislaby@kernel.org> 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>
|
H A D | tty_audit.c | e64ed44b Wed Jun 21 05:16:10 CDT 2023 Jiri Slaby <jirislaby@kernel.org> 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>
|