[dpdk-test-report] |WARNING| pw87933 [PATCH v2] eal: fix querying DPDK version at runtime

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Feb 16 16:14:35 CET 2021


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

_coding style issues_


ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#136: FILE: lib/librte_eal/common/rte_version.c:7:
+const char *
+rte_version_prefix(void) { return RTE_VER_PREFIX; }

ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#139: FILE: lib/librte_eal/common/rte_version.c:10:
+unsigned int
+rte_version_year(void) { return RTE_VER_YEAR; }

ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#142: FILE: lib/librte_eal/common/rte_version.c:13:
+unsigned int
+rte_version_month(void) { return RTE_VER_MONTH; }

ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#145: FILE: lib/librte_eal/common/rte_version.c:16:
+unsigned int
+rte_version_minor(void) { return RTE_VER_MINOR; }

ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#148: FILE: lib/librte_eal/common/rte_version.c:19:
+const char *
+rte_version_suffix(void) { return RTE_VER_SUFFIX; }

ERROR:OPEN_BRACE: open brace '{' following function definitions go on the next line
#151: FILE: lib/librte_eal/common/rte_version.c:22:
+unsigned int
+rte_version_release(void) { return RTE_VER_RELEASE; }

total: 6 errors, 0 warnings, 212 lines checked
ERROR: symbol rte_version is added in the DPDK_21 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol rte_version_minor is added in the DPDK_21 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol rte_version_month is added in the DPDK_21 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol rte_version_prefix is added in the DPDK_21 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol rte_version_release is added in the DPDK_21 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol rte_version_suffix is added in the DPDK_21 section, but is expected to be added in the EXPERIMENTAL section of the version map
ERROR: symbol rte_version_year is added in the DPDK_21 section, but is expected to be added in the EXPERIMENTAL section of the version map


More information about the test-report mailing list