[dpdk-test-report] |WARNING| pw35235 [PATCH 40/80] net/sfc/base: use MAC stats DMA buffer size when decoding

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Feb 20 08:36:04 CET 2018


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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#68: FILE: drivers/net/sfc/base/ef10_mac.c:584:
+	    (encp->enc_mac_stats_nstats * sizeof (efx_qword_t))) {

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

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#131: FILE: drivers/net/sfc/base/siena_mac.c:260:
+	    (encp->enc_mac_stats_nstats * sizeof (efx_qword_t))) {

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

total: 2 errors, 2 warnings, 0 checks, 119 lines checked


More information about the test-report mailing list