2022-10-26 01:18:12

by Bo Liu

[permalink] [raw]
Subject: [PATCH v2] audit: Fix some kernel-doc warnings

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 <[email protected]>
---
security/lsm_audit.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/security/lsm_audit.c b/security/lsm_audit.c
index 75cc3f8d2a42..a7355b4b9bb8 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 buffer
* @a : common audit data
*
*/
--
2.27.0



2022-10-28 11:41:10

by Paul Moore

[permalink] [raw]
Subject: Re: [PATCH v2] audit: Fix some kernel-doc warnings

On Tue, Oct 25, 2022 at 9:06 PM Bo Liu <[email protected]> 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 <[email protected]>
> ---
> security/lsm_audit.c | 1 +
> 1 file changed, 1 insertion(+)

Merged into lsm/next, thanks.

--
paul-moore.com