-----Original Message----- > Date: Sun, 26 Nov 2017 18:00:22 -0800 > From: Jia He <hejia...@gmail.com> > To: jerin.ja...@caviumnetworks.com, dev@dpdk.org, > bruce.richard...@intel.com, konstantin.anan...@intel.com > Cc: olivier.m...@6wind.com, jianbo....@arm.com, hemant.agra...@nxp.com, Jia > He <hejia...@gmail.com>, sta...@dpdk.org, Jia He <jia...@hxt-semitech.com> > Subject: [PATCH V6 1/3] eal/arm64: remove the braces {} for dmb() and dsb() > X-Mailer: git-send-email 2.7.4 > > for the code as follows: > if (condition) > rte_smp_rmb(); > else > rte_smp_wmb(); > Without this patch, compiler will report this error: > error: 'else' without a previous 'if' > > Fixes: 84733fd0d75e ("eal/arm: fix memory barrier definition") > Cc: sta...@dpdk.org > Signed-off-by: Jia He <jia...@hxt-semitech.com>
Please fix the below checkpatch errors. Wrong tag: Suggested-by: Ananyev, Konstantin <konstantin.anan...@intel.com> Wrong 'Fixes' reference: Fixes: 84733fd0d75e ("eal/arm: fix memory barrier definition") With above fix: Acked-by: Jerin Jacob <jerin.ja...@caviumnetworks.com>