[dpdk-test-report] |WARNING| pw97220 [PATCH v5 2/2] net: added macro to extract MAC address bytes

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Aug 23 11:39:02 CEST 2021


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

_coding style issues_


ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#1147: FILE: lib/net/rte_ether.h:231:
+#define RTE_ETHER_ADDR_BYTES(mac_addrs) ((mac_addrs)->addr_bytes[0]), \
+					 ((mac_addrs)->addr_bytes[1]), \
+					 ((mac_addrs)->addr_bytes[2]), \
+					 ((mac_addrs)->addr_bytes[3]), \
+					 ((mac_addrs)->addr_bytes[4]), \
+					 ((mac_addrs)->addr_bytes[5])

total: 1 errors, 0 warnings, 766 lines checked


More information about the test-report mailing list