[dpdk-test-report] |WARNING| pw21901 [PATCH v2 02/21] net/qede/base: fix to set pointers to NULL after freeing
checkpatch at dpdk.org
checkpatch at dpdk.org
Sun Mar 19 11:03:51 CET 2017
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/21901
_coding style issues_
CHECK:MACRO_ARG_REUSE: Macro argument reuse 'memory' - possible side-effects?
#42: FILE: drivers/net/qede/base/bcm_osal.h:93:
+#define OSAL_FREE(dev, memory) \
+ do { \
+ rte_free((void *)memory); \
+ memory = OSAL_NULL; \
+ } while (0)
total: 0 errors, 0 warnings, 1 checks, 100 lines checked
More information about the test-report
mailing list