|WARNING| pw153115 [PATCH v2 32/45] common/sfc_efx/base: fill in software LUT for MAC statistics

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Apr 23 18:07:00 CEST 2025


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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#283: FILE: drivers/common/sfc_efx/base/efx_np.c:698:
+		    sizeof (efx_qword_t);

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

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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#327: FILE: drivers/common/sfc_efx/base/efx_np.c:742:
+	memset(epp->ep_np_mac_stat_lut, 0, sizeof (epp->ep_np_mac_stat_lut));

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

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

total: 4 errors, 2 warnings, 313 lines checked


More information about the test-report mailing list