[dpdk-test-report] |WARNING| pw75514 [PATCH v5 1/8] net/dpaa: add support for fmlib in dpdk

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Aug 13 20:09:43 CEST 2020


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#672: FILE: drivers/net/dpaa/fmlib/fm_lib.c:22:
+#define DEV_TO_ID(p) \
+	do { \
+		t_device *p_dev = (t_device *)p; \
+		p = UINT_TO_PTR(p_dev->id); \
+	} while (0)

WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#5251: FILE: drivers/net/dpaa/fmlib/fm_pcd_ext.h:4052:
+ *		  single partition environment, or it is the Master partition in

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#5740: FILE: drivers/net/dpaa/fmlib/fm_pcd_ext.h:4541:
+ *		  NOTE: this routine may be called only for FM in master mode

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#5756: FILE: drivers/net/dpaa/fmlib/fm_pcd_ext.h:4557:
+ *		  NOTE: this routine may be called only for FM in master mode

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#5772: FILE: drivers/net/dpaa/fmlib/fm_pcd_ext.h:4573:
+ *		  NOTE: this routine may be called only for FM in master mode

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#5788: FILE: drivers/net/dpaa/fmlib/fm_pcd_ext.h:4589:
+ *		  NOTE: this routine may be called only for FM in master mode

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#5804: FILE: drivers/net/dpaa/fmlib/fm_pcd_ext.h:4605:
+ *		  NOTE: this routine may be called only for FM in master mode

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#5820: FILE: drivers/net/dpaa/fmlib/fm_pcd_ext.h:4621:
+ *		  NOTE: this routine may be called only for FM in master mode

WARNING:MACRO_WITH_FLOW_CONTROL: Macros with flow control statements should be avoided
#8242: FILE: drivers/net/dpaa/fmlib/fm_port_ext.h:1090:
+#define RETURN_ERROR(_level, _err, _vmsg) { return ERROR_CODE(_err); }

total: 0 errors, 8 warnings, 1 checks, 10983 lines checked


More information about the test-report mailing list