Skip to contentSkip to conversation

apparmor: remove duplicated 'Returns:' comments

PATCH In review Austin Kim 2 participants 2 messages Nov 3, 2021 – Nov 12, 2021

Subsystems (2)
lore
Share & tools
lore

Austin Kim

author
#0 lore raw

PATCH 1/1 apparmor: remove duplicated 'Returns:' comments

It might look better if duplicated 'Returns:' comment is removed.

---
 security/apparmor/procattr.c | 2 --
 1 file changed, 2 deletions(-)
security/apparmor/procattr.c +0 -2
index c929bf4a3df1..fde332e0ea7d 100644
@@ -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
Signature · 1 line
2.20.1
maintainer
#1 lore raw
Quoted 3 lines · Austin Kim

It might look better if duplicated 'Returns:' comment is removed.

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 18 lines
---
 security/apparmor/procattr.c | 2 --
 1 file changed, 2 deletions(-)
security/apparmor/procattr.c +0 -2
index c929bf4a3df1..fde332e0ea7d 100644
@@ -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