|WARNING| pw104473 [PATCH 3/4] common/sfc_efx/base: support MAC address edit actions in MAE

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Nov 17 12:45:49 CET 2021


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

_coding style issues_


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

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

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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#279: FILE: drivers/common/sfc_efx/base/efx_mae.c:2391:
+	EFX_STATIC_ASSERT(sizeof (mac_idp->id) ==

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

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

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

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

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

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

total: 9 errors, 1 warnings, 491 lines checked


More information about the test-report mailing list