[dpdk-test-report] |WARNING| pw97338 [PATCH v7 2/2] net: added macro to extract MAC address bytes
checkpatch at dpdk.org
checkpatch at dpdk.org
Wed Aug 25 19:35:02 CEST 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/97338
_coding style issues_
ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#1165: 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, 779 lines checked
More information about the test-report
mailing list