]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
audit: Reorganize kerneldoc parameter names
authorJulia Lawall <Julia.Lawall@inria.fr>
Mon, 30 Sep 2024 11:21:16 +0000 (13:21 +0200)
committerPaul Moore <paul@paul-moore.com>
Thu, 3 Oct 2024 19:05:05 +0000 (15:05 -0400)
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>
kernel/audit.c

index 1edaa4846a470b2a16c4979a0945a1c1160e2d9b..53e3bddcc3277ed36cfeb61319d9a4316c3f4fa2 100644 (file)
@@ -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,