[dpdk-test-report] |WARNING| pw31442 [PATCH 53/53] net/sfc/base: move BIU test code into Siena-specific file

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 16 09:17:40 CET 2017


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

_coding style issues_


CHECK:CAMELCASE: Avoid CamelCase: <__checkReturn>
#134: FILE: drivers/net/sfc/base/siena_nic.c:219:
+static	__checkReturn	efx_rc_t

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

ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#210: FILE: drivers/net/sfc/base/siena_nic.c:301:
+	if ((rc = siena_nic_biu_test(enp)) != 0)

total: 2 errors, 0 warnings, 1 checks, 173 lines checked


More information about the test-report mailing list