aboutsummaryrefslogtreecommitdiff
path: root/crypto/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/proc.c')
-rw-r--r--crypto/proc.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/proc.c b/crypto/proc.c
index 9e573b17e88..dabce0676f6 100644
--- a/crypto/proc.c
+++ b/crypto/proc.c
@@ -78,7 +78,10 @@ static int c_show(struct seq_file *m, void *p)
seq_printf(m, "type : compression\n");
break;
default:
- seq_printf(m, "type : unknown\n");
+ if (alg->cra_type && alg->cra_type->show)
+ alg->cra_type->show(m, alg);
+ else
+ seq_printf(m, "type : unknown\n");
break;
}