[dpdk-test-report] |WARNING| pw44397 [03/21] net/atlantic: logging macroes and some typedefs

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 7 17:24:41 CEST 2018


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

_coding style issues_


ERROR:SPACING: space required before the open parenthesis '('
#97: FILE: drivers/net/atlantic/atl_logs.h:21:
+#define PMD_INIT_LOG(level, fmt, args...) do { } while(0)

ERROR:SPACING: space required before the open parenthesis '('
#106: FILE: drivers/net/atlantic/atl_logs.h:30:
+#define PMD_RX_LOG(level, fmt, args...) do { } while(0)

ERROR:SPACING: space required before the open parenthesis '('
#113: FILE: drivers/net/atlantic/atl_logs.h:37:
+#define PMD_TX_LOG(level, fmt, args...) do { } while(0)

ERROR:SPACING: space required before the open parenthesis '('
#120: FILE: drivers/net/atlantic/atl_logs.h:44:
+#define PMD_TX_FREE_LOG(level, fmt, args...) do { } while(0)

ERROR:SPACING: space required after that ',' (ctx:VxV)
#166: FILE: drivers/net/atlantic/atl_types.h:29:
+#define min(a,b)	RTE_MIN(a,b)
              ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#166: FILE: drivers/net/atlantic/atl_types.h:29:
+#define min(a,b)	RTE_MIN(a,b)
                 	         ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#167: FILE: drivers/net/atlantic/atl_types.h:30:
+#define max(a,b)	RTE_MAX(a,b)
              ^

ERROR:SPACING: space required after that ',' (ctx:VxV)
#167: FILE: drivers/net/atlantic/atl_types.h:30:
+#define max(a,b)	RTE_MAX(a,b)
                 	         ^

WARNING:MEMORY_BARRIER: memory barrier without comment
#169: FILE: drivers/net/atlantic/atl_types.h:32:
+#define wmb()		rte_wmb()

total: 8 errors, 1 warnings, 0 checks, 125 lines checked


More information about the test-report mailing list