diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2020-02-05 08:25:23 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2020-02-13 10:05:26 +0100 |
commit | 7f1cfe41cc298b4087668554fa0b91cef6094945 (patch) | |
tree | d0775b203d7adf6646e518bcef4adacc9c84884e /crypto/proc.c | |
parent | crypto: chelsio - This fixes the kernel panic which occurs during a libkcapi ... (diff) | |
download | linux-7f1cfe41cc298b4087668554fa0b91cef6094945.tar.xz linux-7f1cfe41cc298b4087668554fa0b91cef6094945.zip |
crypto: proc - simplify the c_show function
The path with the CRYPTO_ALG_LARVAL flag has jumped to the end before
Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/proc.c')
-rw-r--r-- | crypto/proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/proc.c b/crypto/proc.c index 7b91557adccb..08d8c2bc7e62 100644 --- a/crypto/proc.c +++ b/crypto/proc.c @@ -60,7 +60,7 @@ static int c_show(struct seq_file *m, void *p) goto out; } - switch (alg->cra_flags & (CRYPTO_ALG_TYPE_MASK | CRYPTO_ALG_LARVAL)) { + switch (alg->cra_flags & CRYPTO_ALG_TYPE_MASK) { case CRYPTO_ALG_TYPE_CIPHER: seq_printf(m, "type : cipher\n"); seq_printf(m, "blocksize : %u\n", alg->cra_blocksize); |