diff options
author | Arnd Bergmann <arnd@arndb.de> | 2017-02-01 18:00:14 +0100 |
---|---|---|
committer | Jessica Yu <jeyu@redhat.com> | 2017-02-06 15:26:15 -0800 |
commit | 1f318a8bafcfba9f0d623f4870c4e890fd22e659 (patch) | |
tree | 5bda66889143dab5f6cbe26e97b6feb998e64ae0 /kernel/module.c | |
parent | 7598d167df99ddadb7f7bd803d1413af740f3617 (diff) | |
download | op-kernel-dev-1f318a8bafcfba9f0d623f4870c4e890fd22e659.zip op-kernel-dev-1f318a8bafcfba9f0d623f4870c4e890fd22e659.tar.gz |
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 <arnd@arndb.de>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Jessica Yu <jeyu@redhat.com>
Diffstat (limited to 'kernel/module.c')
0 files changed, 0 insertions, 0 deletions