• Yang Li's avatar
    lsm: Fix kernel-doc · 0fc6ab40
    Yang Li authored
    Fix function name in lsm.c kernel-doc comment
    to remove some warnings found by running scripts/kernel-doc,
    which is caused by using 'make W=1'.
    
    security/apparmor/lsm.c:819: warning: expecting prototype for
    apparmor_clone_security(). Prototype was for
    apparmor_sk_clone_security() instead
    security/apparmor/lsm.c:923: warning: expecting prototype for
    apparmor_socket_list(). Prototype was for apparmor_socket_listen()
    instead
    security/apparmor/lsm.c:1028: warning: expecting prototype for
    apparmor_getsockopt(). Prototype was for apparmor_socket_getsockopt()
    instead
    security/apparmor/lsm.c:1038: warning: expecting prototype for
    apparmor_setsockopt(). Prototype was for apparmor_socket_setsockopt()
    instead
    ecurity/apparmor/lsm.c:1061: warning: expecting prototype for
    apparmor_socket_sock_recv_skb(). Prototype was for
    apparmor_socket_sock_rcv_skb() instead
    Reported-by: default avatarAbaci Robot <abaci@linux.alibaba.com>
    Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
    Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
    0fc6ab40
lsm.c 50 KB