Skip to contentSkip to conversation

app/test: Fix compile issue with icc

PATCH Applied Michael Qiu 2 participants 2 messages Nov 26, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 app/test: Fix compile issue with icc

app/test/test_cryptodev_perf.c(1837): error #192: unrecognized character escape sequence printf("\n%u\t%u\t\%u\t\t%u\t\t%u", dev_num, 0,

"\%u" is the root cause of this issue, just fix it.

---
 app/test/test_cryptodev_perf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
app/test/test_cryptodev_perf.c +1 -1
index f0cca8b..1744e13 100644
@@ -1834,7 +1834,7 @@ test_perf_crypto_qp_vary_burst_size(uint16_t dev_num)
 				num_received += burst_received;
 		}
 
-		printf("\n%u\t%u\t\%u\t\t%u\t\t%u", dev_num, 0,
+		printf("\n%u\t%u\t%u\t\t%u\t\t%u", dev_num, 0,
 					num_sent, num_received, burst_size);
 		printf("\t\t%"PRIu64, retries);
 		printf("\t\t\t%"PRIu64, total_cycles/num_received);
Signature · 1 line
1.9.3
#1 lore raw

2015-11-26 15:21, Michael Qiu:

Quoted 7 lines

app/test/test_cryptodev_perf.c(1837): error #192: unrecognized character escape sequence printf("\n%u\t%u\t\%u\t\t%u\t\t%u", dev_num, 0,

"\%u" is the root cause of this issue, just fix it.

Fixes 202d375c60bc ("app/test: add cryptodev unit and performance tests")

Applied, thanks