automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw44487 [24/37] net/sfc/base: add routine to check for hardware presence
       [not found] <1536572016-18134-25-git-send-email-arybchenko@solarflare.com>
@ 2018-09-10  9:35 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-09-10  9:35 UTC (permalink / raw)
  To: test-report; +Cc: Andrew Rybchenko

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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <__checkReturn>
#69: FILE: drivers/net/sfc/base/ef10_impl.h:193:
+extern	__checkReturn	boolean_t

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#70: FILE: drivers/net/sfc/base/ef10_impl.h:194:
+ef10_nic_hw_unavailable(

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#85: FILE: drivers/net/sfc/base/ef10_nic.c:2308:
+ef10_nic_hw_unavailable(

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#97: FILE: drivers/net/sfc/base/ef10_nic.c:2320:
+	return (B_FALSE);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#103: FILE: drivers/net/sfc/base/ef10_nic.c:2326:
+	return (B_TRUE);

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#118: FILE: drivers/net/sfc/base/efx.h:159:
+efx_nic_hw_unavailable(

WARNING:FUNCTION_ARGUMENTS: function definition argument 'efx_nic_t *' should also have an identifier name
#140: FILE: drivers/net/sfc/base/efx_impl.h:360:
+	boolean_t	(*eno_hw_unavailable)(efx_nic_t *);

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#155: FILE: drivers/net/sfc/base/efx_mcdi.c:502:
+		return (B_FALSE);

CHECK:OPEN_ENDED_LINE: Lines should not end with a '('
#202: FILE: drivers/net/sfc/base/efx_nic.c:660:
+efx_nic_hw_unavailable(

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around function pointer (enop->eno_hw_unavailable)
#211: FILE: drivers/net/sfc/base/efx_nic.c:669:
+		if ((enop->eno_hw_unavailable)(enp) != B_FALSE)

CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around 'enop->eno_hw_unavailable'
#211: FILE: drivers/net/sfc/base/efx_nic.c:669:
+		if ((enop->eno_hw_unavailable)(enp) != B_FALSE)

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#220: FILE: drivers/net/sfc/base/efx_nic.c:678:
+	return (B_TRUE);

total: 4 errors, 1 warnings, 7 checks, 153 lines checked

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

only message in thread, other threads:[~2018-09-10  9:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1536572016-18134-25-git-send-email-arybchenko@solarflare.com>
2018-09-10  9:35 ` [dpdk-test-report] |WARNING| pw44487 [24/37] net/sfc/base: add routine to check for hardware presence 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).