[dpdk-test-report] |WARNING| pw78303 [PATCH 46/60] common/sfc_efx/base: add Xilinx capabilities table lookup

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Sep 22 11:01:18 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#125: FILE: drivers/common/sfc_efx/base/efx_impl.h:1633:
+	__inout				efsys_dma_addr_t *entry_offsetp);

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#125: FILE: drivers/common/sfc_efx/base/efx_impl.h:1633:
+	__inout				efsys_dma_addr_t *entry_offsetp);

WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#143: FILE: drivers/common/sfc_efx/base/efx_pci.c:307:
+	__inout				efsys_dma_addr_t *entry_offsetp)

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#143: FILE: drivers/common/sfc_efx/base/efx_pci.c:307:
+	__inout				efsys_dma_addr_t *entry_offsetp)

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#145: FILE: drivers/common/sfc_efx/base/efx_pci.c:309:
+	efsys_dma_addr_t offset = *entry_offsetp;

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#152: FILE: drivers/common/sfc_efx/base/efx_pci.c:316:
+	if (entry_offsetp == NULL) {

WARNING:TYPO_SPELLING: 'requries' may be misspelled - perhaps 'requires'?
#164: FILE: drivers/common/sfc_efx/base/efx_pci.c:328:
+		 * Xilinx Capabilities Table requries 32bit aligned reads.

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#167: FILE: drivers/common/sfc_efx/base/efx_pci.c:331:
+		EFSYS_BAR_READD(esbp, offset +

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#170: FILE: drivers/common/sfc_efx/base/efx_pci.c:334:
+		EFSYS_BAR_READD(esbp, offset +

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#178: FILE: drivers/common/sfc_efx/base/efx_pci.c:342:
+			*entry_offsetp = offset;

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

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

WARNING:TYPO_SPELLING: 'requries' may be misspelled - perhaps 'requires'?
#238: FILE: drivers/common/sfc_efx/base/rhead_nic.c:533:
+	 * Xilinx Capabilities Table requries 32bit aligned reads.

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#241: FILE: drivers/common/sfc_efx/base/rhead_nic.c:536:
+	EFSYS_BAR_READD(esbp, offset +

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#244: FILE: drivers/common/sfc_efx/base/rhead_nic.c:539:
+	EFSYS_BAR_READD(esbp, offset +

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#257: FILE: drivers/common/sfc_efx/base/rhead_nic.c:552:
+	EFSYS_BAR_READD(esbp, offset +

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

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

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

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

total: 6 errors, 14 warnings, 222 lines checked


More information about the test-report mailing list