* [dpdk-test-report] |WARNING| pw87933 [PATCH v2] eal: fix querying DPDK version at runtime
[not found] <20210216151329.290332-1-bruce.richardson@intel.com>
@ 2021-02-16 15:14 ` checkpatch
2021-02-16 16:26 ` [dpdk-test-report] |SUCCESS| pw87933 [dpdk-dev] " 0-day Robot
2021-02-16 17:25 ` [dpdk-test-report] |FAILURE| pw87933 " 0-day Robot
2 siblings, 0 replies; 3+ messages in thread
From: checkpatch @ 2021-02-16 15:14 UTC (permalink / raw)
To: test-report; +Cc: Bruce Richardson
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
^ permalink raw reply [flat|nested] 3+ messages in thread