[dpdk-test-report] |WARNING| pw24689 [PATCH 01/10] net/i40e/base: use new virtchnl header file

checkpatch at dpdk.org checkpatch at dpdk.org
Sat May 27 05:52:54 CEST 2017


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

_coding style issues_


WARNING:BLOCK_COMMENT_STYLE: Block comments use * on subsequent lines
#626: FILE: drivers/net/i40e/base/virtchnl.h:2:
+/*******************************************************************************
+

CHECK:MACRO_ARG_REUSE: Macro argument reuse '_v' - possible side-effects?
#814: FILE: drivers/net/i40e/base/virtchnl.h:190:
+#define VF_IS_V10(_v) (((_v)->major == 1) && ((_v)->minor == 0))

CHECK:MACRO_ARG_REUSE: Macro argument reuse '_ver' - possible side-effects?
#815: FILE: drivers/net/i40e/base/virtchnl.h:191:
+#define VF_IS_V11(_ver) (((_ver)->major == 1) && ((_ver)->minor == 1))

WARNING:BLOCK_COMMENT_STYLE: Block comments should align the * on each line
#1153: FILE: drivers/net/i40e/base/virtchnl.h:529:
+ * unique type value for AEQ.
+*/

WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations
#1726: FILE: drivers/net/i40e/i40e_ethdev_vf.c:727:
+	uint8_t cmd_buffer[sizeof(struct virtchnl_irq_map_info) + \

WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations
#1780: FILE: drivers/net/i40e/i40e_ethdev_vf.c:866:
+	uint8_t cmd_buffer[sizeof(struct virtchnl_ether_addr_list) + \

WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations
#1810: FILE: drivers/net/i40e/i40e_ethdev_vf.c:904:
+	uint8_t cmd_buffer[sizeof(struct virtchnl_ether_addr_list) + \

total: 0 errors, 5 warnings, 2 checks, 2109 lines checked


More information about the test-report mailing list