automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw89125 [PATCH v2 2/8] common/sfc_efx/base: add API to get VirtQ doorbell offset
       [not found] <20210315135823.605774-3-andrew.rybchenko@oktetlabs.ru>
@ 2021-03-15 14:00 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2021-03-15 14:00 UTC (permalink / raw)
  To: test-report; +Cc: Andrew Rybchenko

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

_coding style issues_


WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#93: FILE: drivers/common/sfc_efx/base/efx.h:4488:
+	__out		uint32_t *offsetp);

WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_virtio_vq_t *' should also have an identifier name
#106: FILE: drivers/common/sfc_efx/base/efx_impl.h:319:
+	efx_rc_t	(*evo_get_doorbell_offset)(efx_virtio_vq_t *,

WARNING:FUNCTION_ARGUMENTS: function definition argument 'uint32_t *' should also have an identifier name
#106: FILE: drivers/common/sfc_efx/base/efx_impl.h:319:
+	efx_rc_t	(*evo_get_doorbell_offset)(efx_virtio_vq_t *,

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#130: FILE: drivers/common/sfc_efx/base/efx_virtio.c:220:
+	__out		uint32_t *offsetp)

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#136: FILE: drivers/common/sfc_efx/base/efx_virtio.c:226:
+	if ((evvp == NULL) || (offsetp == NULL)) {

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#152: FILE: drivers/common/sfc_efx/base/efx_virtio.c:242:
+	if ((rc = evop->evo_get_doorbell_offset(evvp, offsetp)) != 0)

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#152: FILE: drivers/common/sfc_efx/base/efx_virtio.c:242:
+	if ((rc = evop->evo_get_doorbell_offset(evvp, offsetp)) != 0)

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

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

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#180: FILE: drivers/common/sfc_efx/base/rhead_impl.h:499:
+	__out				uint32_t *offsetp);

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#196: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:193:
+	__out		uint32_t *offsetp)

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#247: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:244:
+			*offsetp = MCDI_OUT_DWORD(req,

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#250: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:247:
+			*offsetp = MCDI_OUT_DWORD(req,

WARNING:TYPO_SPELLING: 'offsetp' may be misspelled - perhaps 'offset'?
#261: FILE: drivers/common/sfc_efx/base/rhead_virtio.c:258:
+		*offsetp = MCDI_OUT_DWORD(req,

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

total: 4 errors, 11 warnings, 186 lines checked

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

only message in thread, other threads:[~2021-03-15 14:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20210315135823.605774-3-andrew.rybchenko@oktetlabs.ru>
2021-03-15 14:00 ` [dpdk-test-report] |WARNING| pw89125 [PATCH v2 2/8] common/sfc_efx/base: add API to get VirtQ doorbell offset 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).