X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=crypto%2Fablkcipher.c;h=1c166b47b4cc5b5a627c9ab5a8821d7f4f482779;hb=2e85622042cb5fd56a606e884651ffde52f21028;hp=d45fa16dff81c4c766ea4eee1ee4379bb817d053;hpb=ca7c39385ce1a7b44894a4b225a4608624e90730;p=powerpc.git diff --git a/crypto/ablkcipher.c b/crypto/ablkcipher.c index d45fa16dff..1c166b47b4 100644 --- a/crypto/ablkcipher.c +++ b/crypto/ablkcipher.c @@ -91,8 +91,10 @@ static void crypto_ablkcipher_show(struct seq_file *m, struct crypto_alg *alg) seq_printf(m, "min keysize : %u\n", ablkcipher->min_keysize); seq_printf(m, "max keysize : %u\n", ablkcipher->max_keysize); seq_printf(m, "ivsize : %u\n", ablkcipher->ivsize); - seq_printf(m, "qlen : %u\n", ablkcipher->queue->qlen); - seq_printf(m, "max qlen : %u\n", ablkcipher->queue->max_qlen); + if (ablkcipher->queue) { + seq_printf(m, "qlen : %u\n", ablkcipher->queue->qlen); + seq_printf(m, "max qlen : %u\n", ablkcipher->queue->max_qlen); + } } const struct crypto_type crypto_ablkcipher_type = {