[dpdk-test-report] |WARNING| pw20791 [PATCH 1/7] vmxnet3: prepare for version 3 changes

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Feb 25 23:01:12 CET 2017


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

_coding style issues_


CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw' may be better as '(hw)' to avoid precedence issues
#107: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.h:126:
+#define VMXNET3_VERSION_GE_3(hw) (hw->version >= VMXNET3_REV_3 + 1)

CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'hw' may be better as '(hw)' to avoid precedence issues
#108: FILE: drivers/net/vmxnet3/vmxnet3_ethdev.h:127:
+#define VMXNET3_VERSION_GE_2(hw) (hw->version >= VMXNET3_REV_2 + 1)

total: 0 errors, 0 warnings, 2 checks, 47 lines checked


More information about the test-report mailing list