]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
UBUNTU: SAUCE: apparmor: fix bad __initdata tagging on, apparmor_initialized
authorJohn Johansen <john.johansen@canonical.com>
Tue, 13 Mar 2018 20:48:00 +0000 (21:48 +0100)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 3 Apr 2018 16:04:46 +0000 (18:04 +0200)
commite9744a55583e5674c1c31d2b67b53da2f086fd20
tree8b6d42061b90f57a9ca583889a9bea1226bb7ca5
parent0094e357eafc42e268d7e23a000ccd98e987482a
UBUNTU: SAUCE: apparmor: fix bad __initdata tagging on, apparmor_initialized

BugLink: http://bugs.launchpad.net/bugs/1758471
apparmor_initialized is no longer init only data and the __initdata
tagging was removed from the variable definition in
security/apparmor/lsm.c but missed being removed from the declaration
in security/apparmor/include/lib.h

resulting in the following build warning

WARNING: vmlinux.o(.text+0x393a60): Section mismatch in reference from the function param_set_aauint() to the variable .init.data:apparmor_initialized

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
security/apparmor/include/lib.h