[dpdk-test-report] |WARNING| pw50230 [35/38] net/sfc/base: simplify EF10 family run-time checks

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 7 17:36:49 CET 2019


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse '_enp' - possible side-effects?
#409: FILE: drivers/net/sfc/base/efx_impl.h:744:
+#define	EFX_FAMILY_IS_EF10(_enp) \
+	((_enp)->en_family == EFX_FAMILY_MEDFORD2 || \
+	 (_enp)->en_family == EFX_FAMILY_MEDFORD || \
+	 (_enp)->en_family == EFX_FAMILY_HUNTINGTON)

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


More information about the test-report mailing list