Commit f706d5d22c35e18ed13a4b2b4991aac75bf39df5

Authored by Dave Jones
Committed by Linus Torvalds
1 parent 5214b729e1

audit: silence two kerneldoc warnings in kernel/audit.c

Silence two kerneldoc warnings.

Warning(kernel/audit.c:1276): No description found for parameter 'string'
Warning(kernel/audit.c:1276): No description found for parameter 'len'

[also fix a typo for bonus points]

Signed-off-by: Dave Jones <davej@codemonkey.org.uk>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

... ... @@ -1269,8 +1269,8 @@
1269 1269  
1270 1270 /**
1271 1271 * audit_string_contains_control - does a string need to be logged in hex
1272   - * @string - string to be checked
1273   - * @len - max length of the string to check
  1272 + * @string: string to be checked
  1273 + * @len: max length of the string to check
1274 1274 */
1275 1275 int audit_string_contains_control(const char *string, size_t len)
1276 1276 {
... ... @@ -1285,7 +1285,7 @@
1285 1285 /**
1286 1286 * audit_log_n_untrustedstring - log a string that may contain random characters
1287 1287 * @ab: audit_buffer
1288   - * @len: lenth of string (not including trailing null)
  1288 + * @len: length of string (not including trailing null)
1289 1289 * @string: string to be logged
1290 1290 *
1291 1291 * This code will escape a string that is passed to it if the string