|
@@ -456,11 +456,17 @@ static inline void print_hex_dump_bytes(const char *prefix_str, int prefix_type,
|
|
groupsize, buf, len, ascii) \
|
|
groupsize, buf, len, ascii) \
|
|
dynamic_hex_dump(prefix_str, prefix_type, rowsize, \
|
|
dynamic_hex_dump(prefix_str, prefix_type, rowsize, \
|
|
groupsize, buf, len, ascii)
|
|
groupsize, buf, len, ascii)
|
|
-#else
|
|
|
|
|
|
+#elif defined(DEBUG)
|
|
#define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \
|
|
#define print_hex_dump_debug(prefix_str, prefix_type, rowsize, \
|
|
groupsize, buf, len, ascii) \
|
|
groupsize, buf, len, ascii) \
|
|
print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, rowsize, \
|
|
print_hex_dump(KERN_DEBUG, prefix_str, prefix_type, rowsize, \
|
|
groupsize, buf, len, ascii)
|
|
groupsize, buf, len, ascii)
|
|
-#endif /* defined(CONFIG_DYNAMIC_DEBUG) */
|
|
|
|
|
|
+#else
|
|
|
|
+static inline void print_hex_dump_debug(const char *prefix_str, int prefix_type,
|
|
|
|
+ int rowsize, int groupsize,
|
|
|
|
+ const void *buf, size_t len, bool ascii)
|
|
|
|
+{
|
|
|
|
+}
|
|
|
|
+#endif
|
|
|
|
|
|
#endif
|
|
#endif
|