From: Jiapeng Chong Date: Sat, 8 Oct 2022 06:34:10 +0000 (+0800) Subject: LSM: Fix kernel-doc X-Git-Tag: v6.2-rc1~86^2~8 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=391f121150a5191c932e02775b6e29e59a3f5a94;p=tomoyo%2Ftomoyo-test1.git 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 Signed-off-by: Jiapeng Chong Signed-off-by: John Johansen --- diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c index 8e2b951c4988..ca4d190a737d 100644 --- a/security/apparmor/lsm.c +++ b/security/apparmor/lsm.c @@ -741,7 +741,7 @@ static void apparmor_bprm_committing_creds(struct linux_binprm *bprm) } /** - * apparmor_bprm_committed_cred - do cleanup after new creds committed + * apparmor_bprm_committed_creds() - do cleanup after new creds committed * @bprm: binprm for the exec (NOT NULL) */ static void apparmor_bprm_committed_creds(struct linux_binprm *bprm)