[dpdk-test-report] |WARNING| pw27684 [PATCH v2 01/15] service: rework probe and get name to use ids

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Aug 21 14:58:49 CEST 2017


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#62: FILE: lib/librte_eal/common/rte_service.c:148:
+#define SERVICE_VALID_GET_OR_ERR_RET(id, service, retval) do {          \
+	if (id >= RTE_SERVICE_NUM_MAX || !service_valid(id))            \
+		return retval;                                          \
+	service = &rte_services[id];                                    \
+} while (0)

total: 0 errors, 1 warnings, 73 lines checked


More information about the test-report mailing list