diff options
author | Jiri Slaby <jirislaby@kernel.org> | 2023-06-21 13:16:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-21 18:57:29 +0300 |
commit | 94f94810efc4b4b337c9f2abc8b0188cef5ccb9b (patch) | |
tree | 9c5577fff2eab47685308d0a70b809dce3c35c77 /arch/ia64/scripts | |
parent | e1488513abee9f34a7d0f3bd57ee65d2a7e13426 (diff) | |
download | linux-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 'arch/ia64/scripts')
0 files changed, 0 insertions, 0 deletions