summaryrefslogtreecommitdiff
path: root/crypto/tgr192.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-09-15 22:23:13 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-09-18 13:25:31 +0300
commit056e4fc2018364ba01a23a1ced0ccbbdfa4520b3 (patch)
tree384a996345defa7a5f75ea40698190ff2353979b /crypto/tgr192.c
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e (diff)
downloadlinux-056e4fc2018364ba01a23a1ced0ccbbdfa4520b3.tar.xz
staging: unisys/visorbus: add __init/__exit annotations
gcc-4.6 causes a harmless warning about the init function: WARNING: vmlinux.o(.text+0xed62c2): Section mismatch in reference from the function init_unisys() to the function .init.text:visorutil_spar_detect() The function init_unisys() references the function __init visorutil_spar_detect(). This is often because init_unisys lacks a __init annotation or the annotation of visorutil_spar_detect is wrong. It appears that newer versions inline visorutil_spar_detect(), end up with an empty __init section. This marks the module entry points as __init and __exit respectively, which avoids the warning and slightly reduces the runtime code size. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/tgr192.c')
0 files changed, 0 insertions, 0 deletions