crypto: api - Fix CRYPTO_USER checks for report function
authorOndrej Mosnacek <omosnace@redhat.com>
Tue, 2 May 2023 08:02:33 +0000 (10:02 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 2 May 2023 10:22:24 +0000 (18:22 +0800)
commitb8969a1b69672b163d057e7745ebc915df689211
treedeeb1af7d857e08c5de0bf5e563dcb2ba3250182
parent4140aafcff167b5b9e8dae6a1709a6de7cac6f74
crypto: api - Fix CRYPTO_USER checks for report function

Checking the config via ifdef incorrectly compiles out the report
functions when CRYPTO_USER is set to =m. Fix it by using IS_ENABLED()
instead.

Fixes: c0f9e01dd266 ("crypto: api - Check CRYPTO_USER instead of NET for report")
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/acompress.c
crypto/aead.c
crypto/ahash.c
crypto/akcipher.c
crypto/kpp.c
crypto/rng.c
crypto/scompress.c
crypto/shash.c
crypto/skcipher.c