[dpdk-test-report] |WARNING| pw81503 [PATCH 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:12:48 CEST 2020


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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#163: 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 '('
#165: 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 '('
#167: 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 '('
#205: 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 '('
#208: 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
#279: FILE: drivers/common/sfc_efx/base/efx_nic.c:801:
+	return (rc);

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