net/i40e: fix compilation error in ppc64le
PATCH 1/1 net/i40e: fix compilation error in ppc64le
From: Gowrishankar Muthukrishnan <[email protected]>
A typo introduced in i40e_rxtx_vec_altivec.c from commit 67f038076657 ("net/i40e: enable per-device packet type mapping"). This patch is to address compilation error in ppc64le.
Signed-off-by Gowrishankar Muthukrishnan <[email protected]>
--- drivers/net/i40e/i40e_rxtx_vec_altivec.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/net/i40e/i40e_rxtx_vec_altivec.c +4 -4
@@ -208,13 +208,13 @@ ptype1 =vec_sr (ptype1, (vector unsigned long ){30 ,30 }); rx_pkts[0 ]->packet_type = - ptype_tbl[(*(vector unsigned char *)&ptype0)[0])]; + ptype_tbl[(*(vector unsigned char *)&ptype0)[0]]; rx_pkts[1 ]->packet_type = - ptype_tbl[(*(vector unsigned char *)&ptype0)[8])]; + ptype_tbl[(*(vector unsigned char *)&ptype0)[8]]; rx_pkts[2 ]->packet_type = - ptype_tbl[(*(vector unsigned char *)&ptype1)[0])]; + ptype_tbl[(*(vector unsigned char *)&ptype1)[0]]; rx_pkts[3 ]->packet_type = - ptype_tbl[(*(vector unsigned char *)&ptype1)[8])]; + ptype_tbl[(*(vector unsigned char *)&ptype1)[8]]; }/* Notice:
Signature · 1 line
1.9.1
Thomas Monjalon
Applied20/04/2017 09:39, Gowrishankar:
Quoted 8 lines
From: Gowrishankar Muthukrishnan <[email protected]>
A typo introduced in
i40e_rxtx_vec_altivec.cfrom commit67f038076657("net/i40e: enable per-device packet type mapping"). This patch is to address compilation error in ppc64le.Signed-off-by: Gowrishankar Muthukrishnan
<[email protected]>
Applied, thanks
Please try to avoid such compilation issue by reviewing/testing patches before they are applied.