diff options
author | 2023-06-21 12:16:08 +0200 | |
---|---|---|
committer | 2023-06-21 17:57:29 +0200 | |
commit | 94f94810efc4b4b337c9f2abc8b0188cef5ccb9b (patch) | |
tree | 9c5577fff2eab47685308d0a70b809dce3c35c77 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | tty_audit: use kzalloc() in tty_audit_buf_alloc() (diff) | |
download | wireguard-linux-94f94810efc4b4b337c9f2abc8b0188cef5ccb9b.tar.xz wireguard-linux-94f94810efc4b4b337c9f2abc8b0188cef5ccb9b.zip |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions