Skip to contentSkip to conversation

crypto: qat - print ring name in debug output

PATCH Applied Tadeusz Struk 2 participants 2 messages Apr 3, 2015 – Apr 7, 2015 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: qat - print ring name in debug output

Ring name was allocated but never refenenced. It was supposed to be printed out in debug output.

---
 .../crypto/qat/qat_common/adf_transport_debug.c    |    2 ++
 1 file changed, 2 insertions(+)
drivers/crypto/qat/qat_common/adf_transport_debug.c +2 -0
index 6b69745..e419869 100644
@@ -100,6 +100,8 @@ static int adf_ring_show(struct seq_file *sfile, void *v)
 		empty = READ_CSR_E_STAT(csr, bank->bank_number);
 
 		seq_puts(sfile, "------- Ring configuration -------\n");
+		seq_printf(sfile, "ring name: %s\n",
+			   ring->ring_debug->ring_name);
 		seq_printf(sfile, "ring num %d, bank num %d\n",
 			   ring->ring_number, ring->bank->bank_number);
 		seq_printf(sfile, "head %x, tail %x, empty: %d\n",
maintainer Applied
#1 lore raw
Quoted 4 lines · Tadeusz Struk

Ring name was allocated but never refenenced. It was supposed to be printed out in debug output.

Applied.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt