Skip to content

Commit 391f121

Browse files
Jiapeng Chongjrjohansen
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 <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: John Johansen <[email protected]>
1 parent 64a27ba commit 391f121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)