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

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Sep 9 01:42:36 CEST 2020


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'p' - possible side-effects?
#766: 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'?
#5203: FILE: drivers/net/dpaa/fmlib/fm_pcd_ext.h:3892:
+ *		  single partition environment, or it is the Master partition in

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

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

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

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#5740: FILE: drivers/net/dpaa/fmlib/fm_pcd_ext.h:4429:
+ *		  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:4445:
+ *		  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:4461:
+ *		  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
#8166: FILE: drivers/net/dpaa/fmlib/fm_port_ext.h:1062:
+#define RETURN_ERROR(_level, _err, _vmsg) { return ERROR_CODE(_err); }

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


More information about the test-report mailing list