Re: [PATCH] crypto: aegis128 - fix link error without SIMD

2020-12-04 Thread Ard Biesheuvel
On Thu, 3 Dec 2020 at 23:26, Arnd Bergmann wrote: > > From: Arnd Bergmann > > When the SIMD portion of the driver is disabled, the compiler cannot > figure out in advance if it will be called: > > ERROR: modpost: "crypto_aegis128_update_simd" [crypto/aegis128.ko] undefined! > > Add a conditional

[PATCH] crypto: aegis128 - fix link error without SIMD

2020-12-03 Thread Arnd Bergmann
From: Arnd Bergmann When the SIMD portion of the driver is disabled, the compiler cannot figure out in advance if it will be called: ERROR: modpost: "crypto_aegis128_update_simd" [crypto/aegis128.ko] undefined! Add a conditional to let the compiler use dead code elimination as before. Fixes: a