]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
apparmor: make debug_values_table static
authorJohn Johansen <john.johansen@canonical.com>
Mon, 17 Feb 2025 09:50:36 +0000 (01:50 -0800)
committerJohn Johansen <john.johansen@canonical.com>
Mon, 26 May 2025 03:15:01 +0000 (20:15 -0700)
The debug_values_table is only referenced from lib.c so it should
be static.

Signed-off-by: John Johansen <john.johansen@canonical.com>
security/apparmor/lib.c

index 325f26f39a63c5627b3abe39dbd7175f2cc2c3e3..7cdf430762a8f18eb4774ddb800c87604700f8a3 100644 (file)
@@ -30,7 +30,7 @@ struct val_table_ent {
        int value;
 };
 
-struct val_table_ent debug_values_table[] = {
+static struct val_table_ent debug_values_table[] = {
        { "N", DEBUG_NONE },
        { "none", DEBUG_NONE },
        { "n", DEBUG_NONE },