Re: [dpdk-dev] [PATCH] net/tap: fix memcpy with incorrect size

2018-04-06 Thread Ferruh Yigit
ind.com; Varghese, Vipin ; >> tho...@monjalon.net >> Cc: dev@dpdk.org; Pavan Nikhilesh >> Subject: [dpdk-dev] [PATCH] net/tap: fix memcpy with incorrect size >> >> Fix incorrect sizeof operation being used for getting mac addr size. >> >> Found while compiling

Re: [dpdk-dev] [PATCH] net/tap: fix memcpy with incorrect size

2018-04-06 Thread Yang, Zhiyong
.org; Pavan Nikhilesh > Subject: [dpdk-dev] [PATCH] net/tap: fix memcpy with incorrect size > > Fix incorrect sizeof operation being used for getting mac addr size. > > Found while compiling with arm64 clang. > drivers/net/tap/rte_eth_tap.c:1410:40: error: argument to 'sizeof

[dpdk-dev] [PATCH] net/tap: fix memcpy with incorrect size

2018-04-06 Thread Pavan Nikhilesh
Fix incorrect sizeof operation being used for getting mac addr size. Found while compiling with arm64 clang. drivers/net/tap/rte_eth_tap.c:1410:40: error: argument to 'sizeof' in 'memcpy' call is the same pointer type 'struct ether_addr *' as the destination; expected 'struct ether_addr' o