[dpdk-dev] [PATCH v3 19/24] rte_ether.h: stack vars declared at top of function
Thomas Monjalon
thomas at monjalon.net
Sun May 13 22:42:57 CEST 2018
12/05/2018 04:00, Andy Green:
> /projects/lagopus/src/dpdk/build/include/rte_ether.h:
> In function 'rte_vlan_strip':
> /projects/lagopus/src/dpdk/build/include/rte_ether.h:357:2:
> warning: ISO C90 forbids mixed declarations and code
> [-Wdeclaration-after-statement]
> struct vlan_hdr *vh = (struct vlan_hdr *)(eh + 1);
Fixes: c974021a5949 ("ether: add soft vlan encap/decap")
Cc: stable at dpdk.org
> Signed-off-by: Andy Green <andy at warmcat.com>
Applied, thanks
More information about the dev
mailing list