|WARNING| pw152972 [PATCH 25/46] common/sfc_efx/base: decode netport link state on probe path

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


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

_coding style issues_


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

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

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

total: 2 errors, 1 warnings, 105 lines checked


More information about the test-report mailing list