|WARNING| pw153107 [PATCH v2 24/45] common/sfc_efx/base: decode netport link state on probe path

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


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

_coding style issues_


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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#146: 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
#159: 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