[dpdk-test-report] |WARNING| pw74931 [PATCH v6] net/ice: fix GTPU down/uplink and extension conflict
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Jul 28 13:12:03 CEST 2020
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/74931
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#738: FILE: drivers/net/ice/ice_ethdev.h:361:
+#define ICE_HASH_CFG_VALID(p) \
+ ((p)->hash_fld != 0 && (p)->pkt_hdr != 0)
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#741: FILE: drivers/net/ice/ice_ethdev.h:364:
+#define ICE_HASH_CFG_RESET(p) do { \
+ (p)->hash_fld = 0; \
+ (p)->pkt_hdr = 0; \
+} while (0)
CHECK:BOOL_COMPARISON: Using comparison to true is error prone
#747: FILE: drivers/net/ice/ice_ethdev.h:370:
+ ((p)->rotate == true)
total: 0 errors, 0 warnings, 3 checks, 677 lines checked
More information about the test-report
mailing list