Re: [PATCH] crypto: api - Fix CRYPTO_USER checks for report function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, May 02, 2023 at 10:02:33AM +0200, Ondrej Mosnacek wrote:
> 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@xxxxxxxxxx>
> ---
>  crypto/acompress.c | 2 +-
>  crypto/aead.c      | 2 +-
>  crypto/ahash.c     | 2 +-
>  crypto/akcipher.c  | 2 +-
>  crypto/kpp.c       | 2 +-
>  crypto/rng.c       | 2 +-
>  crypto/scompress.c | 2 +-
>  crypto/shash.c     | 2 +-
>  crypto/skcipher.c  | 2 +-
>  9 files changed, 9 insertions(+), 9 deletions(-)

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux