[dpdk-dev] [PATCH] virtio: fix missing curly braces

2016-07-13 Thread Maxime Coquelin
On 07/13/2016 07:42 PM, Jan Viktorin wrote: > On Wed, 13 Jul 2016 11:27:18 +0200 > Maxime Coquelin wrote: > >> Hi Jan, >> >> On 07/13/2016 11:24 AM, Jan Viktorin wrote: >>> GCC 6 is complaining and seems to be correct here. >>> >>> virtio_user_ethdev.c:345:2: error: >>> this ?if? clause does

[dpdk-dev] [PATCH] virtio: fix missing curly braces

2016-07-13 Thread Jan Viktorin
On Wed, 13 Jul 2016 11:27:18 +0200 Maxime Coquelin wrote: > Hi Jan, > > On 07/13/2016 11:24 AM, Jan Viktorin wrote: > > GCC 6 is complaining and seems to be correct here. > > > > virtio_user_ethdev.c:345:2: error: > > this ?if? clause does not guard... [-Werror=misleading-indentation] > >

[dpdk-dev] [PATCH] virtio: fix missing curly braces

2016-07-13 Thread Jan Viktorin
On Wed, 13 Jul 2016 11:27:18 +0200 Maxime Coquelin wrote: > Hi Jan, > > On 07/13/2016 11:24 AM, Jan Viktorin wrote: > > GCC 6 is complaining and seems to be correct here. > > > > virtio_user_ethdev.c:345:2: error: > > this ?if? clause does not guard... [-Werror=misleading-indentation] > >

[dpdk-dev] [PATCH] virtio: fix missing curly braces

2016-07-13 Thread Maxime Coquelin
Hi Jan, On 07/13/2016 11:24 AM, Jan Viktorin wrote: > GCC 6 is complaining and seems to be correct here. > > virtio_user_ethdev.c:345:2: error: > this ?if? clause does not guard... [-Werror=misleading-indentation] >if (rte_kvargs_count(kvlist, VIRTIO_USER_ARG_PATH) == 1) >^~ > > virt

[dpdk-dev] [PATCH] virtio: fix missing curly braces

2016-07-13 Thread Jan Viktorin
GCC 6 is complaining and seems to be correct here. virtio_user_ethdev.c:345:2: error: this ?if? clause does not guard... [-Werror=misleading-indentation] if (rte_kvargs_count(kvlist, VIRTIO_USER_ARG_PATH) == 1) ^~ virtio_user_ethdev.c:348:3: note: ...this statement, but the la