summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorJiri Slaby <jirislaby@kernel.org>2023-06-21 13:16:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-21 18:57:29 +0300
commit94f94810efc4b4b337c9f2abc8b0188cef5ccb9b (patch)
tree9c5577fff2eab47685308d0a70b809dce3c35c77 /Kconfig
parente1488513abee9f34a7d0f3bd57ee65d2a7e13426 (diff)
downloadlinux-94f94810efc4b4b337c9f2abc8b0188cef5ccb9b.tar.xz
tty_audit: invert the condition in tty_audit_log()
If we cannot obtain an audit buffer in tty_audit_log(), simply return from the function. Apart this is mostly preferred in the kernel, it allows to merge the split audit string while still keeping it readable. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Link: https://lore.kernel.org/r/20230621101611.10580-4-jirislaby@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions