[dpdk-test-report] |WARNING| pw29856 [PATCH 07/17] net/qede/base: add various OS abtraction macros

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Oct 7 08:32:47 CEST 2017


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

_coding style issues_


CHECK:MACRO_ARG_REUSE: Macro argument reuse 'flags' - possible side-effects?
#51: FILE: drivers/net/qede/base/bcm_osal.h:170:
+#define OSAL_SPIN_LOCK_IRQSAVE(lock, flags)	\
+	do {					\
+		UNUSED(lock);			\
+		flags = 0;			\
+		UNUSED(flags);			\
+	} while (0)

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


More information about the test-report mailing list