Skip to content

Commit 2132b35

Browse files
JuliaLawallpcmoore
authored andcommitted
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 <[email protected]> Signed-off-by: Paul Moore <[email protected]>
1 parent 9852d85 commit 2132b35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/audit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2102,8 +2102,8 @@ bool audit_string_contains_control(const char *string, size_t len)
21022102
/**
21032103
* audit_log_n_untrustedstring - log a string that may contain random characters
21042104
* @ab: audit_buffer
2105-
* @len: length of string (not including trailing null)
21062105
* @string: string to be logged
2106+
* @len: length of string (not including trailing null)
21072107
*
21082108
* This code will escape a string that is passed to it if the string
21092109
* contains a control character, unprintable character, double quote mark,

0 commit comments

Comments
 (0)