]> www.infradead.org Git - nvme.git/commit
tty_audit: make data of tty_audit_log() const
authorJiri Slaby <jirislaby@kernel.org>
Wed, 21 Jun 2023 10:16:11 +0000 (12:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jun 2023 15:57:29 +0000 (17:57 +0200)
commite534755c9412be07f579acd2947401a9f87a33c8
tree9bddf1de0c9b70a67ff7ceac6be310fea862db34
parente64ed44bce43e003dd154c0bc418a431c15bdf77
tty_audit: make data of tty_audit_log() const

'data' are only read (passed down to audit_log_n_hex()), so they can be
const -- the same what is expected in audit_log_n_hex(). Only a minor
cleanup to be consistent.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20230621101611.10580-7-jirislaby@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_audit.c