automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw78370 [PATCH v2 44/60] common/sfc_efx/base: add function control window lookup API
       [not found] <1600767288-12109-45-git-send-email-arybchenko@solarflare.com>
@ 2020-09-22  9:44 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2020-09-22  9:44 UTC (permalink / raw)
  To: test-report; +Cc: Andrew Rybchenko

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

_coding style issues_


WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#214: FILE: drivers/common/sfc_efx/base/efx_impl.h:1576:
+	__inout				size_t *offsetp);

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#214: FILE: drivers/common/sfc_efx/base/efx_impl.h:1576:
+	__inout				size_t *offsetp);

WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#227: FILE: drivers/common/sfc_efx/base/efx_impl.h:1589:
+	__inout				size_t *offsetp);

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#227: FILE: drivers/common/sfc_efx/base/efx_impl.h:1589:
+	__inout				size_t *offsetp);

WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#239: FILE: drivers/common/sfc_efx/base/efx_impl.h:1601:
+	__inout				size_t *pci_cap_offsetp,

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#239: FILE: drivers/common/sfc_efx/base/efx_impl.h:1601:
+	__inout				size_t *pci_cap_offsetp,

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#241: FILE: drivers/common/sfc_efx/base/efx_impl.h:1603:
+	__out				efsys_dma_addr_t *xilinx_tbl_offsetp);

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#256: FILE: drivers/common/sfc_efx/base/efx_impl.h:1618:
+	__out				efsys_dma_addr_t *offsetp);

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

WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#335: FILE: drivers/common/sfc_efx/base/efx_pci.c:15:
+	__inout				size_t *offsetp)

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#335: FILE: drivers/common/sfc_efx/base/efx_pci.c:15:
+	__inout				size_t *offsetp)

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

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#346: FILE: drivers/common/sfc_efx/base/efx_pci.c:26:
+	if (*offsetp == 0) {

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

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#349: FILE: drivers/common/sfc_efx/base/efx_pci.c:29:
+		EFSYS_PCI_CONFIG_READD(espcp, *offsetp +

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#349: FILE: drivers/common/sfc_efx/base/efx_pci.c:29:
+		EFSYS_PCI_CONFIG_READD(espcp, *offsetp +

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

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

WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#382: FILE: drivers/common/sfc_efx/base/efx_pci.c:62:
+	__inout				size_t *offsetp)

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#382: FILE: drivers/common/sfc_efx/base/efx_pci.c:62:
+	__inout				size_t *offsetp)

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

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

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#400: FILE: drivers/common/sfc_efx/base/efx_pci.c:80:
+				break;
+			else

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#404: FILE: drivers/common/sfc_efx/base/efx_pci.c:84:
+		EFSYS_PCI_CONFIG_READD(espcp, position +

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

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

WARNING:TYPO_SPELLING: 'inout' may be misspelled - perhaps 'input'?
#439: FILE: drivers/common/sfc_efx/base/efx_pci.c:119:
+	__inout				size_t *pci_cap_offsetp,

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#439: FILE: drivers/common/sfc_efx/base/efx_pci.c:119:
+	__inout				size_t *pci_cap_offsetp,

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#441: FILE: drivers/common/sfc_efx/base/efx_pci.c:121:
+	__out				efsys_dma_addr_t *xilinx_tbl_offsetp)

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

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#451: FILE: drivers/common/sfc_efx/base/efx_pci.c:131:
+	cap_offset = *pci_cap_offsetp;

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#462: FILE: drivers/common/sfc_efx/base/efx_pci.c:142:
+				break;
+			else

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#476: FILE: drivers/common/sfc_efx/base/efx_pci.c:156:
+			*xilinx_tbl_offsetp = tbl_offset;

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#477: FILE: drivers/common/sfc_efx/base/efx_pci.c:157:
+			*pci_cap_offsetp = cap_offset;

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#479: FILE: drivers/common/sfc_efx/base/efx_pci.c:159:
+			break;
+		} else {

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

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#508: FILE: drivers/common/sfc_efx/base/efx_pci.c:188:
+	__out				efsys_dma_addr_t *offsetp)

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#522: FILE: drivers/common/sfc_efx/base/efx_pci.c:202:
+	EFSYS_PCI_CONFIG_READD(espcp, cap_offset +

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#536: FILE: drivers/common/sfc_efx/base/efx_pci.c:216:
+	EFSYS_PCI_CONFIG_READD(espcp, vsec_offset +

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#563: FILE: drivers/common/sfc_efx/base/efx_pci.c:243:
+	EFSYS_PCI_CONFIG_READD(espcp, vsec_offset +

WARNING:TYPO_SPELLING: 'READD' may be misspelled - perhaps 'RE-ADD'?
#575: FILE: drivers/common/sfc_efx/base/efx_pci.c:255:
+		EFSYS_PCI_CONFIG_READD(espcp, vsec_offset +

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

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

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

WARNING:UNNECESSARY_ELSE: else is not generally useful after a break or return
#718: FILE: drivers/common/sfc_efx/base/rhead_pci.c:46:
+				break;
+			} else {

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

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

total: 8 errors, 39 warnings, 587 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-22  9:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1600767288-12109-45-git-send-email-arybchenko@solarflare.com>
2020-09-22  9:44 ` [dpdk-test-report] |WARNING| pw78370 [PATCH v2 44/60] common/sfc_efx/base: add function control window lookup API checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).