aboutsummaryrefslogtreecommitdiffstats
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 9e573b17e887..dabce0676f63 100644
--- a/crypto/proc.c
+++ b/crypto/proc.c
@@ -78,7 +78,10 @@ static int c_show(struct seq_file *m, void *p)
78 seq_printf(m, "type : compression\n"); 78 seq_printf(m, "type : compression\n");
79 break; 79 break;
80 default: 80 default:
81 seq_printf(m, "type : unknown\n"); 81 if (alg->cra_type && alg->cra_type->show)
82 alg->cra_type->show(m, alg);
83 else
84 seq_printf(m, "type : unknown\n");
82 break; 85 break;
83 } 86 }
84 87