[dpdk-test-report] |WARNING| pw57019 [PATCH 1/3] net/sfc: fix power of 2 round up when align has smaller type

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jul 24 15:00:05 CEST 2019


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

_coding style issues_


WARNING:SPACING: space prohibited between function name and open parenthesis '('
#69: FILE: drivers/net/sfc/base/ef10_nvram.c:371:
+		    sizeof (uint32_t)) / sizeof (*ptr);

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#69: FILE: drivers/net/sfc/base/ef10_nvram.c:371:
+		    sizeof (uint32_t)) / sizeof (*ptr);

CHECK:MACRO_ARG_REUSE: Macro argument reuse '_type' - possible side-effects?
#98: FILE: drivers/net/sfc/base/efx.h:33:
+#define	EFX_P2ROUNDUP(_type, _value, _align)	\
+	(-(-(_type)(_value) & -(_type)(_align)))

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#139: FILE: drivers/net/sfc/base/efx_mcdi.h:396:
+		MAX(MAX(_in_len, _out_len), (2 * sizeof (efx_dword_t))),\

WARNING:SPACING: space prohibited between function name and open parenthesis '('
#140: FILE: drivers/net/sfc/base/efx_mcdi.h:397:
+		sizeof (efx_dword_t))

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


More information about the test-report mailing list