[dpdk-test-report] |WARNING| pw64975 [PATCH v1 36/38] mlx5: share Netlink commands

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Jan 20 18:11:06 CET 2020


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

_coding style issues_


WARNING:RETURN_VOID: void function return statements are not generally useful
#175: FILE: drivers/common/mlx5/mlx5_common.c:163:
+	return;
+}

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#198: FILE: drivers/common/mlx5/mlx5_common.h:31:
+#define BITFIELD_DECLARE(bf, type, size) \
+	type bf[(((size_t)(size) / (sizeof(type) * CHAR_BIT)) + \
+		 !!((size_t)(size) % (sizeof(type) * CHAR_BIT)))]

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#201: FILE: drivers/common/mlx5/mlx5_common.h:34:
+#define BITFIELD_DEFINE(bf, type, size) \
+	BITFIELD_DECLARE((bf), type, (size)) = { 0 }

total: 2 errors, 1 warnings, 0 checks, 1687 lines checked
ERROR: symbol mlx5_nl_allmulti is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_ifindex is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_init is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_mac_addr_add is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_mac_addr_flush is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_mac_addr_remove is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_mac_addr_sync is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_portnum is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_promisc is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_switch_info is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_vf_mac_addr_modify is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_vlan_vmwa_create is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_nl_vlan_vmwa_delete is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol mlx5_translate_port_name is added in the DPDK_20.02 section, but is expected to be added in the EXPERIMENTAL section of the version map


More information about the test-report mailing list