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

2015-02-28 Thread Thomas Monjalon
> > This patch fixes following errors with gcc-4.7. > > > Confirmed that this fixes the issue with 4.7.2. > > Acked-by: John McNamara Applied, thanks

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

2015-02-27 Thread Mcnamara, John
> -Original Message- > From: Tetsuya Mukawa [mailto:mukawa at igel.co.jp] > Sent: Friday, February 27, 2015 5:18 AM > To: dev at dpdk.org > Cc: Mcnamara, John; stephen at networkplumber.org; Tetsuya Mukawa > Subject: [PATCH] librte_pmd_null: Fix build issue with gcc-4.7 > > This patch fixe

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

2015-02-27 Thread Tetsuya Mukawa
This patch fixes following errors with gcc-4.7. lib/librte_pmd_null/rte_eth_null.c:302:28: error: array subscript is above array bounds Reported-by: Mcnamara, John Reported-by: Stephen Hemminger Signed-off-by: Tetsuya Mukawa --- lib/librte_pmd_null/rte_eth_null.c | 12 +++- 1 fi