|WARNING| pw153111 [PATCH v2 28/45] common/sfc_efx/base: provide PHY link get method on Medford4

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


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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#278: FILE: drivers/common/sfc_efx/base/efx_np.c:634:
+	memset(msp, 0, sizeof (*msp));

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

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

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

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

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

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

total: 6 errors, 1 warnings, 280 lines checked


More information about the test-report mailing list