Re: [dpdk-dev] [PATCH v2 3/4] cryptodev: fix the clang compiling issue

2018-05-15 Thread De Lara Guarch, Pablo
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Jerin Jacob > Sent: Tuesday, May 15, 2018 12:42 PM > To: Gavin Hu > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 3/4] cryptodev: fix the clang compiling > issue > > -Ori

Re: [dpdk-dev] [PATCH v2 3/4] cryptodev: fix the clang compiling issue

2018-05-15 Thread Jerin Jacob
-Original Message- > Date: Tue, 15 May 2018 05:23:46 -0400 > From: Gavin Hu > To: dev@dpdk.org > Subject: [dpdk-dev] [PATCH v2 3/4] cryptodev: fix the clang compiling issue > X-Mailer: git-send-email 2.1.4 > > ~/dpdk/lib/librte_eventdev/rte_event_crypto_ad

[dpdk-dev] [PATCH v2 3/4] cryptodev: fix the clang compiling issue

2018-05-15 Thread Gavin Hu
~/dpdk/lib/librte_eventdev/rte_event_crypto_adapter.c:530:49: error: 'rte_memcpy' call operates on objects of type 'struct rte_event' while the size is based on a different type 'struct rte_event *' [-Werror,-Wsizeof-pointer-memaccess] rte_memcpy(ev, &m_data->response_info, si