Re: [PATCH] crypto: aesni-intel: fix crypto_fpu_exit() section mismatch

2015-06-15 Thread Herbert Xu
On Fri, Jun 12, 2015 at 09:56:40PM -0700, Jeremiah Mahler wrote: > The '__init aesni_init()' function calls the '__exit crypto_fpu_exit()' > function directly. Since they are in different sections, this generates > a warning. > > make CONFIG_DEBUG_SECTION_MISMATCH=y > ... > WARNING: arch/x8

[PATCH] crypto: aesni-intel: fix crypto_fpu_exit() section mismatch

2015-06-12 Thread Jeremiah Mahler
The '__init aesni_init()' function calls the '__exit crypto_fpu_exit()' function directly. Since they are in different sections, this generates a warning. make CONFIG_DEBUG_SECTION_MISMATCH=y ... WARNING: arch/x86/crypto/aesni-intel.o(.init.text+0x12b): Section mismatch in reference from