mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
5214b729e1
commit
f706d5d22c
1 changed files with 3 additions and 3 deletions
|
@ -1269,8 +1269,8 @@ static void audit_log_n_string(struct audit_buffer *ab, size_t slen,
|
|||
|
||||
/**
|
||||
* audit_string_contains_control - does a string need to be logged in hex
|
||||
* @string - string to be checked
|
||||
* @len - max length of the string to check
|
||||
* @string: string to be checked
|
||||
* @len: max length of the string to check
|
||||
*/
|
||||
int audit_string_contains_control(const char *string, size_t len)
|
||||
{
|
||||
|
@ -1285,7 +1285,7 @@ int 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: lenth of string (not including trailing null)
|
||||
* @len: length of string (not including trailing null)
|
||||
* @string: string to be logged
|
||||
*
|
||||
* This code will escape a string that is passed to it if the string
|
||||
|
|
Loading…
Reference in a new issue