[dpdk-test-report] [PatchWork]|ERROR| pw13191 eal/x86: fix clang build with -O0

sys_stv at intel.com sys_stv at intel.com
Mon Jun 6 03:00:38 CEST 2016


Test-Label: Intel Niantic on Fedora
Test-Status: ERROR

Patchwork ID: 13191
http://www.dpdk.org/dev/patchwork/patch/13191/
Submitter: Thomas Monjalon <thomas.monjalon at 6wind.com>
Date: Fri,  3 Jun 2016 10:15:23 +0200
DPDK git baseline: f243d9b04b4bf17d7ccdae179fa43b04d8a87317

Check patch error:
13191: 
WARNING: Single statement macros should not use a do {} while (0) loop
#49: FILE: lib/librte_eal/common/include/arch/x86/rte_rtm.h:54:
+#define rte_xabort(status) do { +asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory"); \ } 
+while (0)

ERROR: spaces required around that ':' (ctx:WxO)
#50: FILE: lib/librte_eal/common/include/arch/x86/rte_rtm.h:55:
+asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory");                                    ^
   
   ERROR: spaces required around that ':' (ctx:OxW)
   #50: FILE: lib/librte_eal/common/include/arch/x86/rte_rtm.h:55:
   +asm volatile(".byte 0xc6,0xf8,%P0" :: "i" (status) : "memory");                                     ^

total: 2 errors, 1 warnings, 15 lines checked

/home/patchWorkOrg/patches/dpdk-dev-eal-x86-fix-clang-build-with--O0.patch has style problems, please review.

If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS.


Compilation:
OS: fedora
Nic: niantic
GCC: gcc_x86-64, 4.8.3
ICC:16.0.2
i686-native-linuxapp-icc: compile pass
x86_64-native-linuxapp-gcc-combined: compile pass
i686-native-linuxapp-gcc: compile pass
x86_64-native-linuxapp-gcc: compile pass
x86_64-native-linuxapp-icc: compile pass
x86_64-native-linuxapp-gcc-debug: compile pass
x86_64-native-linuxapp-gcc-shared: compile pass
x86_64-native-linuxapp-clang: compile pass



DPDK STV team 


More information about the test-report mailing list