[dpdk-test-report] |WARNING| pw81452 [PATCH 16/62] common/sfc_efx/base: support setting a PPORT in a match spec

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 20 10:53:47 CEST 2020


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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#216: FILE: drivers/common/sfc_efx/base/efx_mae.c:349:
+	memset(mportp, 0, sizeof (*mportp));

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

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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#284: FILE: drivers/common/sfc_efx/base/efx_mae.c:417:
+			    &dword, sizeof (dword));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#296: FILE: drivers/common/sfc_efx/base/efx_mae.c:429:
+			    &dword, sizeof (dword));

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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#340: FILE: drivers/common/sfc_efx/base/efx_mae.c:473:
+	    sizeof (valuep->sel), vp, sizeof (maskp->sel), mp);

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#340: FILE: drivers/common/sfc_efx/base/efx_mae.c:473:
+	    sizeof (valuep->sel), vp, sizeof (maskp->sel), mp);

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

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

total: 5 errors, 5 warnings, 254 lines checked


More information about the test-report mailing list