[dpdk-test-report] |WARNING| pw27910 [PATCH] ethdev: modifiy vlan_offload_set_t to return int

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 25 12:30:26 CEST 2017


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

_coding style issues_


WARNING:FUNCTION_ARGUMENTS: function definition argument 'struct rte_eth_dev *' should also have an identifier name
#505: FILE: drivers/net/mlx5/mlx5.h:286:
+int mlx5_vlan_offload_set(struct rte_eth_dev *, int);

WARNING:FUNCTION_ARGUMENTS: function definition argument 'int' should also have an identifier name
#505: FILE: drivers/net/mlx5/mlx5.h:286:
+int mlx5_vlan_offload_set(struct rte_eth_dev *, int);

CHECK:LOGICAL_CONTINUATIONS: Logical continuations should be on the previous line
#628: FILE: drivers/net/virtio/virtio_ethdev.c:1887:
+	if (rxmode->hw_vlan_filter
+	    && !vtpci_with_feature(hw, VIRTIO_NET_F_CTRL_VLAN)) {

ERROR:CODE_INDENT: code indent should use tabs where possible
#715: FILE: lib/librte_ether/rte_ethdev.c:2095:
+        }$

WARNING:LEADING_SPACE: please, no spaces at the start of a line
#715: FILE: lib/librte_ether/rte_ethdev.c:2095:
+        }$

total: 1 errors, 3 warnings, 533 lines checked


More information about the test-report mailing list