diff options
| author | Arnd Bergmann <[email protected]> | 2017-02-01 17:00:14 +0000 |
|---|---|---|
| committer | Jessica Yu <[email protected]> | 2017-02-06 23:26:15 +0000 |
| commit | 1f318a8bafcfba9f0d623f4870c4e890fd22e659 (patch) | |
| tree | 5bda66889143dab5f6cbe26e97b6feb998e64ae0 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | livepatch/module: print notice of TAINT_LIVEPATCH (diff) | |
| download | kernel-1f318a8bafcfba9f0d623f4870c4e890fd22e659.tar.gz kernel-1f318a8bafcfba9f0d623f4870c4e890fd22e659.zip | |
modules: mark __inittest/__exittest as __maybe_unused
clang warns about unused inline functions by default:
arch/arm/crypto/aes-cipher-glue.c:68:1: warning: unused function '__inittest' [-Wunused-function]
arch/arm/crypto/aes-cipher-glue.c:69:1: warning: unused function '__exittest' [-Wunused-function]
As these appear in every single module, let's just disable the warnings by marking the
two functions as __maybe_unused.
Signed-off-by: Arnd Bergmann <[email protected]>
Reviewed-by: Miroslav Benes <[email protected]>
Acked-by: Rusty Russell <[email protected]>
Signed-off-by: Jessica Yu <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
