|WARNING| pw152980 [PATCH 33/46] common/sfc_efx/base: fill in software LUT for MAC statistics

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Apr 16 16:08:14 CEST 2025


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

_coding style issues_


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

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

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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#339: FILE: drivers/common/sfc_efx/base/efx_np.c:757:
+	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
#380: FILE: drivers/common/sfc_efx/base/efx_np.c:798:
+	return (0);

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

total: 4 errors, 2 warnings, 325 lines checked


More information about the test-report mailing list