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

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Sep 22 11:45:08 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#126: 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'?
#126: 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'?
#144: 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'?
#144: 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'?
#146: 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'?
#153: FILE: drivers/common/sfc_efx/base/efx_pci.c:316:
+	if (entry_offsetp == NULL) {

WARNING:TYPO_SPELLING: 'requries' may be misspelled - perhaps 'requires'?
#165: 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'?
#168: 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'?
#171: FILE: drivers/common/sfc_efx/base/efx_pci.c:334:
+		EFSYS_BAR_READD(esbp, offset +

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#179: 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
#192: FILE: drivers/common/sfc_efx/base/efx_pci.c:355:
+	return (rc);

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

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#242: 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'?
#245: 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'?
#258: 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
#269: FILE: drivers/common/sfc_efx/base/rhead_nic.c:563:
+	return (0);

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

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

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

total: 6 errors, 13 warnings, 222 lines checked


More information about the test-report mailing list