aboutsummaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <[email protected]>2019-06-17 09:44:52 +0200
committerMimi Zohar <[email protected]>2019-06-17 14:13:20 -0400
commit8c655784e2cf59cb6140759b8b546d98261d1ad9 (patch)
tree2f78fe90d28adcf72599f95b61a3551c163d004b /security/selinux/hooks.c
parente038f5f691e003af25cda0f1593d2cc0a4d1c866 (diff)
integrity: Fix __integrity_init_keyring() section mismatch
With gcc-4.6.3: WARNING: vmlinux.o(.text.unlikely+0x24c64): Section mismatch in reference from the function __integrity_init_keyring() to the function .init.text:set_platform_trusted_keys() The function __integrity_init_keyring() references the function __init set_platform_trusted_keys(). This is often because __integrity_init_keyring lacks a __init annotation or the annotation of set_platform_trusted_keys is wrong. Indeed, if the compiler decides not to inline __integrity_init_keyring(), a warning is issued. Fix this by adding the missing __init annotation. Fixes: 9dc92c45177ab70e ("integrity: Define a trusted platform keyring") Signed-off-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Nayna Jain <[email protected]> Reviewed-by: James Morris <[email protected]> Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions