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

checkpatch at dpdk.org checkpatch at dpdk.org
Mon Oct 11 16:54:01 CEST 2021


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

_coding style issues_


ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#142: 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 '('
#164: 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
#236: FILE: drivers/common/sfc_efx/base/efx_mae.c:3375:
+	return (rc);

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#242: 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 '('
#328: 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
#346: FILE: drivers/common/sfc_efx/base/efx_mae.c:3485:
+	return (rc);

ERROR:SPACING: need consistent spacing around '*' (ctx:WxV)
#352: 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
#371: FILE: drivers/common/sfc_efx/base/efx_mae.c:3510:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#377: 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