Thread (2 messages) 2 messages, 2 authors, 2021-11-12

Re: [PATCH] apparmor: remove duplicated 'Returns:' comments

flat view

From: John Johansen <john.johansen@canonical.com>
Date: 2021-11-12 01:25:51
Also in: lkml

On 11/3/21 2:25 AM, Austin Kim wrote:
It might look better if duplicated 'Returns:' comment is removed.

Signed-off-by: Austin Kim <redacted>
sorry, it looks like I forgot to reply to this. I pulled this into the
apparmor tree and it has been merged for 5.16
quoted hunk ↗ jump to hunk
---
 security/apparmor/procattr.c | 2 --
 1 file changed, 2 deletions(-)
diff --git a/security/apparmor/procattr.c b/security/apparmor/procattr.c
index c929bf4a3df1..fde332e0ea7d 100644
--- a/security/apparmor/procattr.c
+++ b/security/apparmor/procattr.c
@@ -21,8 +21,6 @@
  * @profile: the profile to print profile info about  (NOT NULL)
  * @string: Returns - string containing the profile info (NOT NULL)
  *
- * Returns: length of @string on success else error on failure
- *
  * Requires: profile != NULL
  *
  * Creates a string containing the namespace_name://profile_name for
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help