automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw54609 [PATCH 09/29] net/sfc/base: add NVRAM info to API
       [not found] <1560152324-20538-10-git-send-email-arybchenko@solarflare.com>
@ 2019-06-13 13:54 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2019-06-13 13:54 UTC (permalink / raw)
  To: test-report; +Cc: Andrew Rybchenko

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

_coding style issues_


CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#42: FILE: drivers/net/sfc/base/ef10_impl.h:455:
+ef10_nvram_partn_info(

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#45: FILE: drivers/net/sfc/base/ef10_impl.h:458:
+	__out			efx_nvram_info_t * enip);

CHECK:CAMELCASE: Avoid CamelCase: <__checkReturn>
#47: FILE: drivers/net/sfc/base/ef10_impl.h:460:
+extern	__checkReturn		efx_rc_t

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#59: FILE: drivers/net/sfc/base/ef10_nvram.c:1963:
+ef10_nvram_partn_info(

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#66: FILE: drivers/net/sfc/base/ef10_nvram.c:1970:
+	if ((rc = efx_mcdi_nvram_info_ex(enp, partn, enip)) != 0)

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#72: FILE: drivers/net/sfc/base/ef10_nvram.c:1976:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#77: FILE: drivers/net/sfc/base/ef10_nvram.c:1981:
+	return (rc);

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#95: FILE: drivers/net/sfc/base/ef10_nvram.c:2468:
+	if ((rc = ef10_nvram_partn_info(enp, partn, &eni)) != 0)

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#120: FILE: drivers/net/sfc/base/efx.h:1638:
+efx_nvram_info(

WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_nic_t *' should also have an identifier name
#138: FILE: drivers/net/sfc/base/efx_impl.h:504:
+	efx_rc_t	(*envo_partn_info)(efx_nic_t *, uint32_t,

WARNING:FUNCTION_ARGUMENTS: function definition argument 'uint32_t' should also have an identifier name
#138: FILE: drivers/net/sfc/base/efx_impl.h:504:
+	efx_rc_t	(*envo_partn_info)(efx_nic_t *, uint32_t,

WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_nvram_info_t *' should also have an identifier name
#138: FILE: drivers/net/sfc/base/efx_impl.h:504:
+	efx_rc_t	(*envo_partn_info)(efx_nic_t *, uint32_t,

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#178: FILE: drivers/net/sfc/base/efx_nvram.c:151:
+	if ((rc = envop->envo_partn_info(enp, partn, &eni)) != 0)

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#191: FILE: drivers/net/sfc/base/efx_nvram.c:168:
+efx_nvram_info(

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#203: FILE: drivers/net/sfc/base/efx_nvram.c:180:
+	if ((rc = envop->envo_type_to_partn(enp, type, &partn)) != 0)

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#206: FILE: drivers/net/sfc/base/efx_nvram.c:183:
+	if ((rc = envop->envo_partn_info(enp, partn, enip)) != 0)

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#209: FILE: drivers/net/sfc/base/efx_nvram.c:186:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#216: FILE: drivers/net/sfc/base/efx_nvram.c:193:
+	return (rc);

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#237: FILE: drivers/net/sfc/base/efx_nvram.c:353:
+	if ((rc = envop->envo_partn_info(enp, partn, &eni)) != 0)

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#241: FILE: drivers/net/sfc/base/efx_nvram.c:356:
+	if ((rc = envop->envo_partn_erase(enp, partn, offset,

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#254: FILE: drivers/net/sfc/base/siena_impl.h:195:
+siena_nvram_partn_info(

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#257: FILE: drivers/net/sfc/base/siena_impl.h:198:
+	__out			efx_nvram_info_t * enip);

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#271: FILE: drivers/net/sfc/base/siena_nvram.c:43:
+siena_nvram_partn_info(

ERROR:POINTER_LOCATION: "foo * bar" should be "foo *bar"
#274: FILE: drivers/net/sfc/base/siena_nvram.c:46:
+	__out			efx_nvram_info_t * enip)

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#278: FILE: drivers/net/sfc/base/siena_nvram.c:50:
+	if ((rc = efx_mcdi_nvram_info_ex(enp, partn, enip)) != 0)

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#284: FILE: drivers/net/sfc/base/siena_nvram.c:56:
+	return (0);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#289: FILE: drivers/net/sfc/base/siena_nvram.c:61:
+	return (rc);

total: 17 errors, 3 warnings, 7 checks, 221 lines checked

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

only message in thread, other threads:[~2019-06-13 13:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1560152324-20538-10-git-send-email-arybchenko@solarflare.com>
2019-06-13 13:54 ` [dpdk-test-report] |WARNING| pw54609 [PATCH 09/29] net/sfc/base: add NVRAM info to 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).