[PATCH] apparmor: lsm: fix kernel-doc typo
Randy Dunlap
rdunlap at infradead.org
Mon Jan 15 04:37:35 UTC 2024
Correct a kernel-doc function parameter name to resolve two
kernel-doc warnings:
lsm.c:1136: warning: Function parameter or struct member 'protocol' not described in 'apparmor_socket_post_create'
lsm.c:1136: warning: Excess function parameter 'ptotocol' description in 'apparmor_socket_post_create'
Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
Cc: John Johansen <john.johansen at canonical.com>
Cc: John Johansen <john at apparmor.net>
Cc: apparmor at lists.ubuntu.com
Cc: Paul Moore <paul at paul-moore.com>
Cc: James Morris <jmorris at namei.org>
Cc: "Serge E. Hallyn" <serge at hallyn.com>
Cc: linux-security-module at vger.kernel.org
---
security/apparmor/lsm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff -- a/security/apparmor/lsm.c b/security/apparmor/lsm.c
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -1122,7 +1122,7 @@ static int apparmor_socket_create(int fa
* @sock: socket that is being setup
* @family: family of socket being created
* @type: type of the socket
- * @ptotocol: protocol of the socket
+ * @protocol: protocol of the socket
* @kern: socket is a special kernel socket
*
* Note:
More information about the Linux-security-module-archive
mailing list