[dpdk-dev] [PATCH] librte_pmd_null: Fix build issue with icc

Tetsuya Mukawa mukawa at igel.co.jp
Fri Feb 27 06:19:35 CET 2015


This patch fixes following errors with icc.

 rte_eth_null.c(47): error #83:
     type qualifier specified more than once

Reported-by: Mcnamara, John <john.mcnamara at intel.com>
Signed-off-by: Tetsuya Mukawa <mukawa at igel.co.jp>
---
 lib/librte_pmd_null/rte_eth_null.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_pmd_null/rte_eth_null.c b/lib/librte_pmd_null/rte_eth_null.c
index f8d7023..f7ef904 100644
--- a/lib/librte_pmd_null/rte_eth_null.c
+++ b/lib/librte_pmd_null/rte_eth_null.c
@@ -44,7 +44,7 @@
 static unsigned default_packet_size = 64;
 static unsigned default_packet_copy;
 
-static const char const *valid_arguments[] = {
+static const char *valid_arguments[] = {
 	ETH_NULL_PACKET_SIZE_ARG,
 	ETH_NULL_PACKET_COPY_ARG,
 	NULL
-- 
1.9.1



More information about the dev mailing list