automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw102710 [PATCH v6 1/9] interrupts: add allocator and accessors
       [not found] <20211024200449.12024-2-david.marchand@redhat.com>
@ 2021-10-24 20:05 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-10-24 20:05 UTC (permalink / raw)
  To: test-report; +Cc: David Marchand

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

_coding style issues_


WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#143: FILE: lib/eal/common/eal_common_interrupts.c:14:
+#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)

ERROR:COMPLEX_MACRO: Macros with complex values should be enclosed in parentheses
#155: FILE: lib/eal/common/eal_common_interrupts.c:26:
+#define RTE_INTR_INSTANCE_USES_RTE_MEMORY(flags) \
+	!!(flags & RTE_INTR_INSTANCE_F_SHARED)

total: 1 errors, 1 warnings, 1492 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-10-24 20:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211024200449.12024-2-david.marchand@redhat.com>
2021-10-24 20:05 ` [dpdk-test-report] |WARNING| pw102710 [PATCH v6 1/9] interrupts: add allocator and accessors checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).