aboutsummaryrefslogtreecommitdiffstats
path: root/security/apparmor/lib.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2025-06-20 15:05:01 -0700
committerJohn Johansen <john.johansen@canonical.com>2025-07-20 02:19:27 -0700
commitda0edababafa444e638a0be6dd2feef0a9e529e2 (patch)
treeb3e40e6ffd3c42da11bd268124594644a10c82a3 /security/apparmor/lib.c
parentapparmor: Fix unaligned memory accesses in KUnit test (diff)
downloadlinux-da0edababafa444e638a0be6dd2feef0a9e529e2.tar.gz
linux-da0edababafa444e638a0be6dd2feef0a9e529e2.zip
apparmor: fix kernel doc warnings for kernel test robot
Fix kernel doc warnings for the functions - apparmor_socket_bind - apparmor_unix_may_send - apparmor_unix_stream_connect - val_mask_to_str Reported-by: kernel test robot <lkp@intel.com> Closes: https://lore.kernel.org/oe-kbuild-all/202506070127.B1bc3da4-lkp@intel.com/ Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/lib.c')
-rw-r--r--security/apparmor/lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c
index f51e79cc36d4..7d43f6a62404 100644
--- a/security/apparmor/lib.c
+++ b/security/apparmor/lib.c
@@ -84,8 +84,8 @@ int aa_parse_debug_params(const char *str)
/**
* val_mask_to_str - convert a perm mask to its short string
* @str: character buffer to store string in (at least 10 characters)
- * @str_size: size of the @str buffer
- * @chrs: NUL-terminated character buffer of permission characters
+ * @size: size of the @str buffer
+ * @table: NUL-terminated character buffer of permission characters
* @mask: permission mask to convert
*/
static int val_mask_to_str(char *str, size_t size,