automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw102694 [PATCH v5 1/6] eal/interrupts: implement get set APIs
       [not found] <20211022204934.132186-2-hkalra@marvell.com>
@ 2021-10-22 20:50 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-10-22 20:50 UTC (permalink / raw)
  To: test-report; +Cc: Harman Kalra

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

_coding style issues_


WARNING:TYPO_SPELLING: 'wont' may be misspelled - perhaps 'won't'?
#78: 
User wont be able to access any of the interrupt handle fields

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#133: 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
#145: FILE: lib/eal/common/eal_common_interrupts.c:26:
+#define IS_RTE_MEMORY(intr_handle)		\
+		!!(intr_handle->alloc_flag & RTE_INTR_INSTANCE_F_SHARED)

total: 1 errors, 2 warnings, 1531 lines checked

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

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

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20211022204934.132186-2-hkalra@marvell.com>
2021-10-22 20:50 ` [dpdk-test-report] |WARNING| pw102694 [PATCH v5 1/6] eal/interrupts: implement get set APIs 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).