[dpdk-test-report] |WARNING| pw97448 [PATCH 30/38] common/sfc_efx/base: add a means to read MAE mport journal

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Aug 27 09:01:16 CEST 2021


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

_coding style issues_


ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#140: FILE: drivers/common/sfc_efx/base/efx.h:4691:
+	__in				efx_mae_read_mport_journal_cb *cbp,
 	    				                              ^

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#162: FILE: drivers/common/sfc_efx/base/efx_mae.c:3303:
+	memset(desc, 0, sizeof (*desc));

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#234: FILE: drivers/common/sfc_efx/base/efx_mae.c:3375:
+	return (rc);

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#240: FILE: drivers/common/sfc_efx/base/efx_mae.c:3381:
+	__in				efx_mae_read_mport_journal_cb *cbp,
 	    				                              ^

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#326: FILE: drivers/common/sfc_efx/base/efx_mae.c:3467:
+		(*cbp)(cb_datap, &desc, sizeof (desc));

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#344: FILE: drivers/common/sfc_efx/base/efx_mae.c:3485:
+	return (rc);

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#350: FILE: drivers/common/sfc_efx/base/efx_mae.c:3491:
+	__in				efx_mae_read_mport_journal_cb *cbp,
 	    				                              ^

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#369: FILE: drivers/common/sfc_efx/base/efx_mae.c:3510:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#375: FILE: drivers/common/sfc_efx/base/efx_mae.c:3516:
+	return (rc);

total: 7 errors, 2 warnings, 363 lines checked


More information about the test-report mailing list