* Silence two kerneldoc warnings in kernel/audit.c
@ 2008-03-25 0:27 Dave Jones
2008-03-25 0:33 ` Randy Dunlap
0 siblings, 1 reply; 2+ messages in thread
From: Dave Jones @ 2008-03-25 0:27 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Andrew Morton, Linux Kernel
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>
--- linux-2.6.24.noarch/kernel/audit.c~ 2008-03-24 20:22:32.000000000 -0400
+++ linux-2.6.24.noarch/kernel/audit.c 2008-03-24 20:23:34.000000000 -0400
@@ -1269,8 +1269,8 @@ static void audit_log_n_string(struct au
/**
* 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
/**
* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Silence two kerneldoc warnings in kernel/audit.c
2008-03-25 0:27 Silence two kerneldoc warnings in kernel/audit.c Dave Jones
@ 2008-03-25 0:33 ` Randy Dunlap
0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2008-03-25 0:33 UTC (permalink / raw)
To: Dave Jones; +Cc: Linus Torvalds, Andrew Morton, Linux Kernel
On Mon, 24 Mar 2008 20:27:05 -0400 Dave Jones wrote:
> 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>
I've sent the same patch to the audit people... so acked-by me.
Good luck.
> --- linux-2.6.24.noarch/kernel/audit.c~ 2008-03-24 20:22:32.000000000 -0400
> +++ linux-2.6.24.noarch/kernel/audit.c 2008-03-24 20:23:34.000000000 -0400
> @@ -1269,8 +1269,8 @@ static void audit_log_n_string(struct au
>
> /**
> * 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
> /**
> * 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
>
> --
---
~Randy
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-25 0:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-25 0:27 Silence two kerneldoc warnings in kernel/audit.c Dave Jones
2008-03-25 0:33 ` Randy Dunlap
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®