Smack: fix kernel-doc interface on functions
authorAlex Shi <alex.shi@linux.alibaba.com>
Fri, 13 Nov 2020 07:26:59 +0000 (15:26 +0800)
committerCasey Schaufler <casey@schaufler-ca.com>
Fri, 13 Nov 2020 19:50:44 +0000 (11:50 -0800)
commit7da31b858ec278f90603506ce7fa7eed3c53c8d7
tree6d951f05759fcaa3c837d3818548a7a52867a7ce
parentf8394f232b1eab649ce2df5c5f15b0e528c92091
Smack: fix kernel-doc interface on functions

The are some kernel-doc interface issues:
security/smack/smackfs.c:1950: warning: Function parameter or member
'list' not described in 'smk_parse_label_list'
security/smack/smackfs.c:1950: warning: Excess function parameter
'private' description in 'smk_parse_label_list'
security/smack/smackfs.c:1979: warning: Function parameter or member
'list' not described in 'smk_destroy_label_list'
security/smack/smackfs.c:1979: warning: Excess function parameter 'head'
description in 'smk_destroy_label_list'
security/smack/smackfs.c:2141: warning: Function parameter or member
'count' not described in 'smk_read_logging'
security/smack/smackfs.c:2141: warning: Excess function parameter 'cn'
description in 'smk_read_logging'
security/smack/smackfs.c:2278: warning: Function parameter or member
'format' not described in 'smk_user_access'

Correct them in this patch.

Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Casey Schaufler <casey@schaufler-ca.com>
Cc: James Morris <jmorris@namei.org>
Cc: "Serge E. Hallyn" <serge@hallyn.com>
Cc: linux-security-module@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smackfs.c