Re: [dpdk-dev] [PATCH v2] eal/ppc: fix compilation error with a broken else clause

2018-01-30 Thread Thomas Monjalon
30/01/2018 11:53, Gowrishankar: > From: Gowrishankar Muthukrishnan > > Calling rte_smp_{w/r}mb macro expands into a compound block, which > would break compiling a else clause following it, if that calling > place has been terminated already with ";", as in below code. > This patch adds { } aroun

[dpdk-dev] [PATCH v2] eal/ppc: fix compilation error with a broken else clause

2018-01-30 Thread Gowrishankar
From: Gowrishankar Muthukrishnan Calling rte_smp_{w/r}mb macro expands into a compound block, which would break compiling a else clause following it, if that calling place has been terminated already with ";", as in below code. This patch adds { } around this macro to allow compiling else too. F