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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Sep 24 14:21:39 CEST 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#127: 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'?
#127: 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'?
#145: 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:307:
+	__inout				efsys_dma_addr_t *entry_offsetp)

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#147: 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'?
#154: FILE: drivers/common/sfc_efx/base/efx_pci.c:316:
+	if (entry_offsetp == NULL) {

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#169: 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'?
#172: FILE: drivers/common/sfc_efx/base/efx_pci.c:334:
+		EFSYS_BAR_READD(esbp, offset +

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

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

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

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

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

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

total: 6 errors, 12 warnings, 222 lines checked


More information about the test-report mailing list