[dpdk-test-report] |WARNING| pw31434 [PATCH 39/53] net/sfc/base: cstyle fixes

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 16 09:15:55 CET 2017


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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#180: FILE: drivers/net/sfc/base/efx.h:43:
+	((void)sizeof (char[(_cond) ? 1 : -1]))

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#184: FILE: drivers/net/sfc/base/efx.h:46:
+	(sizeof (_array) / sizeof ((_array)[0]))

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#184: FILE: drivers/net/sfc/base/efx.h:46:
+	(sizeof (_array) / sizeof ((_array)[0]))

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#534: FILE: drivers/net/sfc/base/efx_lic.c:438:
+#define	EFX_LICENSE_V1V2_HEADER_LENGTH		(2 * sizeof (uint16_t))

ERROR:RETURN_PARENTHESES: return is not a function, parentheses are not required
#784: FILE: drivers/net/sfc/base/efx_lic.c:1355:
+	return (enp->en_licensing_supported);

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#957: FILE: drivers/net/sfc/base/efx_nic.c:654:
+	    sizeof (mc_fw_version));

total: 1 errors, 5 warnings, 0 checks, 845 lines checked


More information about the test-report mailing list