From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Jan_M=C4=99dala?= Subject: Re: [PATCH v3 6/6] ena: fix for icc compiler Date: Tue, 5 Jul 2016 19:03:03 +0200 Message-ID: References: <1466510763-19569-6-git-send-email-jan@semihalf.com> <1467299099-32498-1-git-send-email-jan@semihalf.com> <1467299099-32498-7-git-send-email-jan@semihalf.com> <577B7539.3000007@intel.com> <20160705161918.GC26504@bricha3-MOBL3> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Cc: Ferruh Yigit , dev@dpdk.org, Alexander Matushevsky , Jakub Palider To: Bruce Richardson Return-path: Received: from mail-vk0-f49.google.com (mail-vk0-f49.google.com [209.85.213.49]) by dpdk.org (Postfix) with ESMTP id 3D7506947 for ; Tue, 5 Jul 2016 19:03:04 +0200 (CEST) Received: by mail-vk0-f49.google.com with SMTP id m127so213092298vkb.3 for ; Tue, 05 Jul 2016 10:03:04 -0700 (PDT) In-Reply-To: <20160705161918.GC26504@bricha3-MOBL3> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Bruce, That'd be very kind of you if you can fix trailing zeros. This patch Fixes: b5b8cd9 ("ena: update of ENA communication layer") Regards, Jan 2016-07-05 18:19 GMT+02:00 Bruce Richardson : > On Tue, Jul 05, 2016 at 09:52:09AM +0100, Ferruh Yigit wrote: > > On 6/30/2016 4:04 PM, Jan Medala wrote: > > > Signed-off-by: Alexander Matushevsky > > > Signed-off-by: Jakub Palider > > > Signed-off-by: Jan Medala > > > > The compilation error to fix is [1], it may be good to add what to fix > > into commit log. > > > > [1] > > == Build drivers/net/ena > > CC ena_ethdev.o > > /tmp/dpdk_maintain/ena_v3/dpdk/drivers/net/ena/ena_ethdev.c(943): error > > #188: enumerated type mixed with another type > > struct ena_com_create_io_ctx ctx = { 0 }; > > ^ > > > > /tmp/dpdk_maintain/ena_v3/dpdk/drivers/net/ena/ena_ethdev.c(1036): error > > #188: enumerated type mixed with another type > > struct ena_com_create_io_ctx ctx = { 0 }; > > ^ > > ... > > > > > --- a/drivers/net/ena/ena_ethdev.c > > > +++ b/drivers/net/ena/ena_ethdev.c > > > @@ -940,7 +940,10 @@ static int ena_tx_queue_setup(struct rte_eth_dev > *dev, > > > __rte_unused unsigned int socket_id, > > > __rte_unused const struct rte_eth_txconf > *tx_conf) > > > { > > > - struct ena_com_create_io_ctx ctx = { 0 }; > > > + struct ena_com_create_io_ctx ctx = > > > + /* policy set to _HOST just to satisfy icc compiler */ > > > + { ENA_ADMIN_PLACEMENT_POLICY_HOST, > > > + ENA_COM_IO_QUEUE_DIRECTION_TX, 0, 0, 0, 0 }; > > > > Trailing "0" are not required, compiler will take care of them. > > > Jan, > > any comment on this? If you want, I can remove the trailing zeros on apply > rather than needing a V3. Is that ok? > > Again a fixes line is missing, can you supply one. > > /Bruce >