]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
apparmor: fix typo in kernel doc
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 15 Mar 2024 12:54:09 +0000 (13:54 +0100)
committerJohn Johansen <john.johansen@canonical.com>
Fri, 10 May 2024 15:53:56 +0000 (08:53 -0700)
Fix the typo in the function documentation to please kernel doc
warnings.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lsm.c

index c2f73d2817240d83beed40775d476a3a091b9d4f..717204fba938bfd77085ce8547a391937eba0019 100644 (file)
@@ -1124,7 +1124,7 @@ static int apparmor_socket_create(int family, int type, int protocol, int kern)
  * @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: