[dpdk-test-report] |WARNING| pw81554 [PATCH v2 41/62] common/sfc_efx/base: add an API for querying board info

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Oct 20 11:36:40 CEST 2020


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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#165: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:986:
+	EFX_STATIC_ASSERT(sizeof (board_infop->enbi_serial) ==

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#167: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:988:
+	EFX_STATIC_ASSERT(sizeof (board_infop->enbi_name) ==

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#169: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:990:
+	EFX_STATIC_ASSERT(sizeof (board_infop->enbi_revision) ==

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#207: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:1051:
+		    sizeof (board_infop->enbi_serial));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#210: FILE: drivers/common/sfc_efx/base/efx_mcdi.c:1054:
+		    sizeof (board_infop->enbi_name));

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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#312: FILE: drivers/common/sfc_efx/base/efx_nic.c:832:
+	memcpy(board_infop, &ver.emv_board_info, sizeof (*board_infop));

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#315: FILE: drivers/common/sfc_efx/base/efx_nic.c:835:
+	board_infop->enbi_serial[sizeof (board_infop->enbi_serial) - 1] = '


More information about the test-report mailing list