lkml.org 
[lkml]   [2022]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] audit: Fix some kernel-doc warnings
From


On 10/24/22 23:03, Bo Liu wrote:
> The current code provokes some kernel-doc warnings:
> security/lsm_audit.c:198: warning: Function parameter or member 'ab' not described in 'dump_common_audit_data'
>
> Signed-off-by: Bo Liu <liubo03@inspur.com>

Acked-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
> security/lsm_audit.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/security/lsm_audit.c b/security/lsm_audit.c
> index 75cc3f8d2a42..ea5d35dce674 100644
> --- a/security/lsm_audit.c
> +++ b/security/lsm_audit.c
> @@ -190,6 +190,7 @@ static inline void print_ipv4_addr(struct audit_buffer *ab, __be32 addr,
>
> /**
> * dump_common_audit_data - helper to dump common audit data
> + * @ab : the audit data to fill
> * @a : common audit data
> *
> */

--
~Randy

\
 
 \ /
  Last update: 2022-10-25 17:55    [W:0.044 / U:1.980 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site