[dpdk-test-report] |WARNING| pw102089 [PATCH v3 2/7] eal/interrupts: implement get set APIs

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 18 22:56:38 CEST 2021


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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#135: FILE: lib/eal/common/eal_common_interrupts.c:16:
+#define CHECK_VALID_INTR_HANDLE(intr_handle) do { \
+	if (intr_handle == NULL) { \
+		RTE_LOG(ERR, EAL, "Interrupt instance unallocated
"); \
+		rte_errno = EINVAL; \
+		goto fail; \
+	} \
+} while (0)

total: 0 errors, 1 warnings, 1492 lines checked


More information about the test-report mailing list