[dpdk-test-report] |WARNING| pw52657 [PATCH 2/6] net/bnx2x: fix memory leak
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Apr 12 03:49:26 CEST 2019
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
More information about the test-report
mailing list