|WARNING| pw117195 [PATCH v7 1/7] eal/loongarch: support LoongArch architecture

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 30 10:04:43 CEST 2022


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/117195

_coding style issues_


WARNING:SINGLE_STATEMENT_DO_WHILE_MACRO: Single statement macros should not use a do {} while (0) loop
#574: FILE: lib/eal/loongarch/include/rte_atomic.h:19:
+#define rte_mb()	do { asm volatile("dbar 0":::"memory"); } while (0)

total: 0 errors, 1 warnings, 1049 lines checked
Warning in lib/eal/loongarch/include/rte_atomic.h:
Using rte_smp_[r/w]mb
Warning in lib/eal/loongarch/include/rte_atomic.h:
Using __atomic_thread_fence


More information about the test-report mailing list