projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9195189
)
crypto: proc - simplify the c_show function
author
Tianjia Zhang
<tianjia.zhang@linux.alibaba.com>
Wed, 5 Feb 2020 07:25:23 +0000
(15:25 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 13 Feb 2020 09:05:26 +0000
(17:05 +0800)
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>
crypto/proc.c
patch
|
blob
|
history
diff --git
a/crypto/proc.c
b/crypto/proc.c
index
7b91557
..
08d8c2b
100644
(file)
--- 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);