summaryrefslogtreecommitdiff
path: root/lib/zstd/common/debug.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-11-22 17:38:55 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2023-11-24 03:03:52 -0500
commita43579380cc201cec8b96de50ae9decfade311cc (patch)
treebc0dd1313df41732ad3b3bf9e9dbb68460a9f6af /lib/zstd/common/debug.h
parent84afc142937f1dcded97aa2559bbc722c48dce96 (diff)
bcachefs: Add logging for zstd error
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'lib/zstd/common/debug.h')
-rw-r--r--lib/zstd/common/debug.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/zstd/common/debug.h b/lib/zstd/common/debug.h
index 6dd88d1fbd02..20af9c5aa90b 100644
--- a/lib/zstd/common/debug.h
+++ b/lib/zstd/common/debug.h
@@ -32,6 +32,9 @@
#ifndef DEBUG_H_12987983217
#define DEBUG_H_12987983217
+#include <asm/bug.h>
+#include <asm/string.h>
+
/* static assert is triggered at compile time, leaving no runtime artefact.
@@ -44,7 +47,7 @@
* typically through compiler command line.
* Value must be a number. */
#ifndef DEBUGLEVEL
-# define DEBUGLEVEL 0
+# define DEBUGLEVEL 4
#endif