|WARNING| pw152976 [PATCH 29/46] common/sfc_efx/base: provide PHY link get method on Medford4

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


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

_coding style issues_


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

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

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

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

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

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

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

total: 6 errors, 1 warnings, 281 lines checked


More information about the test-report mailing list