Re: [apparmor] [PATCH 2/2] apparmor: fix typo in kernel doc

2024-05-10 Thread John Johansen

On 3/15/24 05:54, Christian Göttsche wrote:

Fix the typo in the function documentation to please kernel doc
warnings.

Signed-off-by: Christian Göttsche 


Acked-by: John Johansen 

I have pulled this into my tree


---
  security/apparmor/lsm.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index cef8c466af80..d0485fb0ed63 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -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:





Re: [apparmor] [PATCH 2/2] apparmor: fix typo in kernel doc

2024-03-28 Thread Kees Cook
On Fri, Mar 15, 2024 at 01:54:09PM +0100, Christian Göttsche wrote:
> Fix the typo in the function documentation to please kernel doc
> warnings.
> 
> Signed-off-by: Christian Göttsche 

Reviewed-by: Kees Cook 

-- 
Kees Cook



[apparmor] [PATCH 2/2] apparmor: fix typo in kernel doc

2024-03-15 Thread Christian Göttsche
Fix the typo in the function documentation to please kernel doc
warnings.

Signed-off-by: Christian Göttsche 
---
 security/apparmor/lsm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
index cef8c466af80..d0485fb0ed63 100644
--- a/security/apparmor/lsm.c
+++ b/security/apparmor/lsm.c
@@ -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:
-- 
2.43.0