]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: sun8i-ce-hash - add IS_ENABLED() checks to debugfs stats
authorOvidiu Panait <ovidiu.panait.oss@gmail.com>
Tue, 1 Apr 2025 19:23:20 +0000 (22:23 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 8 Apr 2025 07:54:38 +0000 (15:54 +0800)
commit593c76e1aafb550b3ffa697a4369435216f82e4c
treea90a0b9912714e8d96310a311842f80476dc80da
parenta8632253f39b5f6c1cf8e1c1da382a4d22e61e57
crypto: sun8i-ce-hash - add IS_ENABLED() checks to debugfs stats

Add IS_ENABLED(CONFIG_CRYPTO_DEV_SUN8I_CE_DEBUG) checks before the
fallback counter updates to make sure the code is not included when
debugfs statistics support is not enabled.

Signed-off-by: Ovidiu Panait <ovidiu.panait.oss@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c