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