automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw143881 [PATCH 22/33] net/cnxk: support Rx burst vector for cn20k
       [not found] <20240910085909.1514457-23-ndabilpuram@marvell.com>
@ 2024-09-10  9:35 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2024-09-10  9:35 UTC (permalink / raw)
  To: test-report; +Cc: Nithin Dabilpuram

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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse '_mbuf' - possible side-effects?
#122: FILE: drivers/net/cnxk/cn20k_rx.h:447:
+#define NIX_PUSH_META_TO_FREE(_mbuf, _laddr, _loff_p)                                              \
+	do {                                                                                       \
+		*(uint64_t *)((_laddr) + (*(_loff_p) << 3)) = (uint64_t)_mbuf;                     \
+		*(_loff_p) = *(_loff_p) + 1;                                                       \
+		/* Mark meta mbuf as put */                                                        \
+		RTE_MEMPOOL_CHECK_COOKIES(_mbuf->pool, (void **)&_mbuf, 1, 0);                     \
+	} while (0)

CHECK:MACRO_ARG_REUSE: Macro argument reuse '_loff_p' - possible side-effects?
#122: FILE: drivers/net/cnxk/cn20k_rx.h:447:
+#define NIX_PUSH_META_TO_FREE(_mbuf, _laddr, _loff_p)                                              \
+	do {                                                                                       \
+		*(uint64_t *)((_laddr) + (*(_loff_p) << 3)) = (uint64_t)_mbuf;                     \
+		*(_loff_p) = *(_loff_p) + 1;                                                       \
+		/* Mark meta mbuf as put */                                                        \
+		RTE_MEMPOOL_CHECK_COOKIES(_mbuf->pool, (void **)&_mbuf, 1, 0);                     \
+	} while (0)

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#222: FILE: drivers/net/cnxk/cn20k_rx.h:547:
+					rte_prefetch0(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#224: FILE: drivers/net/cnxk/cn20k_rx.h:549:
+					rte_prefetch0(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#226: FILE: drivers/net/cnxk/cn20k_rx.h:551:
+					rte_prefetch0(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#228: FILE: drivers/net/cnxk/cn20k_rx.h:553:
+					rte_prefetch0(

total: 0 errors, 0 warnings, 6 checks, 475 lines checked

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

only message in thread, other threads:[~2024-09-10  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20240910085909.1514457-23-ndabilpuram@marvell.com>
2024-09-10  9:35 ` |WARNING| pw143881 [PATCH 22/33] net/cnxk: support Rx burst vector for cn20k 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).