summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/printk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/printk.h b/include/printk.h
index f92e477298..94a25ec9eb 100644
--- a/include/printk.h
+++ b/include/printk.h
@@ -160,7 +160,7 @@ extern void print_hex_dump(const char *level, const char *prefix_str,
int prefix_type, int rowsize, int groupsize,
const void *buf, size_t len, bool ascii);
-#if LOGLEVEL <= MSG_DEBUG
+#if LOGLEVEL >= MSG_DEBUG
#define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \
groupsize, buf, len, ascii) \
print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, rowsize, \