[dpdk-test-report] |WARNING| pw103854 [PATCH 2/4] common/sfc_efx/base: support NIC DMA memory regions API
checkpatch at dpdk.org
checkpatch at dpdk.org
Fri Nov 5 09:35:44 CET 2021
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/103854
_coding style issues_
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#133: FILE: drivers/common/sfc_efx/base/ef10_nic.c:1890:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#302: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3270:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#309: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3277:
+ return (rc);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#348: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3316:
+ EFX_STATIC_ASSERT(sizeof (*regions) == DESC_ADDR_REGION_LEN);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#353: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3321:
+ if (alloc_size / sizeof (endrip->endri_regions[0]) != nregions) {
ERROR:CODE_INDENT: code indent should use tabs where possible
#376: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3344:
+^I^I GET_DESC_ADDR_REGIONS_OUT_REGIONS, i,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#377: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3345:
+^I^I DESC_ADDR_REGION_DESC_ADDR_BASE);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#381: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3349:
+^I^I GET_DESC_ADDR_REGIONS_OUT_REGIONS, i,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#382: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3350:
+^I^I DESC_ADDR_REGION_TRGT_ADDR_BASE);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#386: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3354:
+^I^I GET_DESC_ADDR_REGIONS_OUT_REGIONS, i,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#387: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3355:
+^I^I DESC_ADDR_REGION_WINDOW_SIZE_LOG2);$
ERROR:CODE_INDENT: code indent should use tabs where possible
#391: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3359:
+^I^I GET_DESC_ADDR_REGIONS_OUT_REGIONS, i,$
ERROR:CODE_INDENT: code indent should use tabs where possible
#392: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3360:
+^I^I DESC_ADDR_REGION_TRGT_ADDR_ALIGN_LOG2);$
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#406: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3374:
+ return (rc);
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#435: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3403:
+ EFX_STATIC_ASSERT(sizeof (*trgt_addr_base) ==
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#448: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3416:
+ EFX_STATIC_ASSERT(sizeof (1U) * 8 >=
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#472: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:3440:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#571: FILE: drivers/common/sfc_efx/base/efx_nic.c:1341:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#582: FILE: drivers/common/sfc_efx/base/efx_nic.c:1352:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#632: FILE: drivers/common/sfc_efx/base/efx_nic.c:1402:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#644: FILE: drivers/common/sfc_efx/base/efx_nic.c:1414:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#688: FILE: drivers/common/sfc_efx/base/efx_nic.c:1458:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#697: FILE: drivers/common/sfc_efx/base/efx_nic.c:1467:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#741: FILE: drivers/common/sfc_efx/base/efx_nic.c:1511:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#755: FILE: drivers/common/sfc_efx/base/efx_nic.c:1525:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#760: FILE: drivers/common/sfc_efx/base/efx_nic.c:1530:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#793: FILE: drivers/common/sfc_efx/base/efx_nic.c:1563:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#844: FILE: drivers/common/sfc_efx/base/efx_nic.c:1614:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#863: FILE: drivers/common/sfc_efx/base/efx_nic.c:1633:
+ return (0);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#933: FILE: drivers/common/sfc_efx/base/efx_nic.c:1703:
+ return (rc);
ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#991: FILE: drivers/common/sfc_efx/base/efx_nic.c:1761:
+ return (rc);
total: 27 errors, 4 warnings, 892 lines checked
More information about the test-report
mailing list