* |WARNING| pw110888 [PATCH v5 19/28] net/cnxk: optimize Rx fast path for security pkts
[not found] <20220508074839.6965-19-ndabilpuram@marvell.com>
@ 2022-05-08 7:52 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-05-08 7:52 UTC (permalink / raw)
To: test-report; +Cc: Nithin Dabilpuram
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/110888
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse '_mbuf' - possible side-effects?
#403: FILE: drivers/net/cnxk/cn10k_rx.h:953:
+#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?
#403: FILE: drivers/net/cnxk/cn10k_rx.h:953:
+#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)
total: 0 errors, 0 warnings, 2 checks, 608 lines checked
^ permalink raw reply [flat|nested] only message in thread