summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@inria.fr>2024-09-30 13:21:16 +0200
committerPaul Moore <paul@paul-moore.com>2024-10-03 21:05:05 +0200
commit2132b355267f328a56da96f2f8868cc95406a562 (patch)
tree1eb6f12db61ddfca2f5878d3dde833a2ef054fa9 /kernel/audit.c
parentLinux 6.12-rc1 (diff)
downloadlinux-2132b355267f328a56da96f2f8868cc95406a562.tar.xz
linux-2132b355267f328a56da96f2f8868cc95406a562.zip
audit: Reorganize kerneldoc parameter names
Reorganize kerneldoc parameter names to match the parameter order in the function header. Problems identified using Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 1edaa4846a47..53e3bddcc327 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -2102,8 +2102,8 @@ bool audit_string_contains_control(const char *string, size_t len)
/**
* audit_log_n_untrustedstring - log a string that may contain random characters
* @ab: audit_buffer
- * @len: length of string (not including trailing null)
* @string: string to be logged
+ * @len: length of string (not including trailing null)
*
* This code will escape a string that is passed to it if the string
* contains a control character, unprintable character, double quote mark,