Build check errors found: 2012-07-27

postmaster at open-mesh.org postmaster at open-mesh.org
Fri Jul 27 00:55:22 CEST 2012


Name of failed tests
====================

checkpatch master main.h
checkpatch next main.h

Output of different failed tests
================================

checkpatch master main.h:
>>>>>>>>
WARNING: Single statement macros should not use a do {} while (0) loop
#183: FILE: main.h:183:
+#define batadv_dbg(type, bat_priv, fmt, arg...)			\
+	do {							\
+		if (atomic_read(&bat_priv->log_level) & type)	\
+			batadv_debug_log(bat_priv, fmt, ## arg);\
+	}							\
+	while (0)

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

checkpatch next main.h:
>>>>>>>>
WARNING: Single statement macros should not use a do {} while (0) loop
#182: FILE: main.h:182:
+#define batadv_dbg(type, bat_priv, fmt, arg...)			\
+	do {							\
+		if (atomic_read(&bat_priv->log_level) & type)	\
+			batadv_debug_log(bat_priv, fmt, ## arg);\
+	}							\
+	while (0)

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



More information about the linux-merge mailing list