[dpdk-test-report] |WARNING| pw57021 [PATCH 3/3] net/sfc: unify power of 2 alignment check macro

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


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse '_type' - possible side-effects?
#60: FILE: drivers/net/sfc/base/efx.h:41:
+#define	EFX_IS_P2ALIGNED(_type, _value, _align)	\
+	((((_type)(_value)) & ((_type)(_align) - 1)) == 0)

total: 0 errors, 0 warnings, 1 checks, 145 lines checked


More information about the test-report mailing list