[dpdk-test-report] |WARNING| pw62363 [PATCH v2 2/5] net/bnxt: fix redundant mac addr check
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Nov 4 12:04:49 CET 2019
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/62363
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'filter' - possible side-effects?
#312: FILE: drivers/net/bnxt/bnxt_filter.h:11:
+#define bnxt_vlan_filter_exists(bp, filter, chk, vlan_id) \
+ (((filter)->enables & (chk)) && \
+ ((filter)->l2_ivlan == (vlan_id) && \
+ (filter)->l2_ivlan_mask == 0x0FFF) && \
+ !memcmp((filter)->l2_addr, (bp)->mac_addr, \
+ RTE_ETHER_ADDR_LEN))
total: 0 errors, 0 warnings, 1 checks, 262 lines checked
More information about the test-report
mailing list