Skip to content

Commit 391f121

Browse files
wb-zjp846396jrjohansen
authored andcommitted
LSM: Fix kernel-doc
security/apparmor/lsm.c:753: warning: expecting prototype for apparmor_bprm_committed_cred(). Prototype was for apparmor_bprm_committed_creds() instead. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2338 Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
1 parent 64a27ba commit 391f121

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

security/apparmor/lsm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ static void apparmor_bprm_committing_creds(struct linux_binprm *bprm)
741741
}
742742

743743
/**
744-
* apparmor_bprm_committed_cred - do cleanup after new creds committed
744+
* apparmor_bprm_committed_creds() - do cleanup after new creds committed
745745
* @bprm: binprm for the exec (NOT NULL)
746746
*/
747747
static void apparmor_bprm_committed_creds(struct linux_binprm *bprm)

0 commit comments

Comments
 (0)