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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 19 20:37:36 CEST 2021


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

_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, 1489 lines checked


More information about the test-report mailing list