diff options
| author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2025-01-21 10:44:43 +0800 |
|---|---|---|
| committer | John Johansen <john.johansen@canonical.com> | 2025-02-10 11:17:33 -0800 |
| commit | 04fe43104e4ed103a8b55c21d1bc354fac409421 (patch) | |
| tree | 3743d55528cb534ffa8f45a8604d22e45ecb318f | |
| parent | aa904fa1182b1a4470bb082f6cddacc1dc4e8032 (diff) | |
apparmor: Modify mismatched function name
No functional modification involved.
security/apparmor/lib.c:93: warning: expecting prototype for aa_mask_to_str(). Prototype was for val_mask_to_str() instead.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=13606
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>
| -rw-r--r-- | security/apparmor/lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/apparmor/lib.c b/security/apparmor/lib.c index dd5dcbe5daf7..325f26f39a63 100644 --- a/security/apparmor/lib.c +++ b/security/apparmor/lib.c @@ -82,7 +82,7 @@ int aa_parse_debug_params(const char *str) } /** - * aa_mask_to_str - convert a perm mask to its short string + * 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 |
