* [dpdk-test-report] |WARNING| pw62399 [PATCH v3 2/5] net/bnxt: fix redundant MAC address check
[not found] <20191104225026.97569-3-ajit.khaparde@broadcom.com>
@ 2019-11-04 22:51 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-11-04 22:51 UTC (permalink / raw)
To: test-report; +Cc: Ajit Khaparde
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/62399
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'filter' - possible side-effects?
#319: 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
^ permalink raw reply [flat|nested] only message in thread