• Alex Shi's avatar
    Smack: fix kernel-doc interface on functions · 7da31b85
    Alex Shi authored
    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: default avatarAlex 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: default avatarCasey Schaufler <casey@schaufler-ca.com>
    7da31b85
smackfs.c 69 KB