automatic DPDK test reports
 help / color / mirror / Atom feed
* [dpdk-test-report] |WARNING| pw31400 [PATCH 12/53] net/sfc/base: precheck and verify flash writes
       [not found] <1510819481-6809-13-git-send-email-arybchenko@solarflare.com>
@ 2017-11-16  8:05 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-11-16  8:05 UTC (permalink / raw)
  To: test-report; +Cc: Andrew Rybchenko

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

_coding style issues_


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

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

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

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

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

total: 4 errors, 0 warnings, 1 checks, 137 lines checked

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

only message in thread, other threads:[~2017-11-16  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1510819481-6809-13-git-send-email-arybchenko@solarflare.com>
2017-11-16  8:05 ` [dpdk-test-report] |WARNING| pw31400 [PATCH 12/53] net/sfc/base: precheck and verify flash writes 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).