* [dpdk-test-report] |WARNING| pw52657 [PATCH 2/6] net/bnx2x: fix memory leak
[not found] <1555033662-22935-2-git-send-email-rmody@marvell.com>
@ 2019-04-12 1:49 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-04-12 1:49 UTC (permalink / raw)
To: test-report; +Cc: Rasesh Mody
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/52657
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'x' - possible side-effects?
#109: FILE: drivers/net/bnx2x/ecore_sp.h:154:
+#define ECORE_ILT_FREE(x, y, size) \
+ do { \
+ if (x) { \
+ bnx2x_dma_free((struct bnx2x_dma *)x); \
+ rte_free(x); \
+ x = NULL; \
+ y = 0; \
+ } \
+ } while (0)
total: 0 errors, 0 warnings, 1 checks, 71 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-04-12 1:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1555033662-22935-2-git-send-email-rmody@marvell.com>
2019-04-12 1:49 ` [dpdk-test-report] |WARNING| pw52657 [PATCH 2/6] net/bnx2x: fix memory leak 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).