[dpdk-test-report] |WARNING| pw35255 [PATCH 09/80] net/sfc/base: move RxDP config get to EF10 NIC code

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Feb 20 08:42:57 CET 2018


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

_coding style issues_


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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#59: FILE: drivers/net/sfc/base/ef10_nic.c:437:
+	memset(payload, 0, sizeof (payload));

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

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

total: 2 errors, 1 warnings, 1 checks, 203 lines checked


More information about the test-report mailing list