Merge tag 'u-boot-imx-20200502' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
[oweals/u-boot.git] / fs / ubifs / scan.c
index 4a977ae8cb4274e26b19ac70e32fe66869d69181..876a6ee6616b0eed2d7ff3d7371a528ed9fbf715 100644 (file)
@@ -16,6 +16,8 @@
  */
 
 #ifdef __UBOOT__
+#include <hexdump.h>
+#include <dm/devres.h>
 #include <linux/err.h>
 #endif
 #include "ubifs.h"
@@ -236,7 +238,7 @@ void ubifs_scanned_corruption(const struct ubifs_info *c, int lnum, int offs,
        if (len > 8192)
                len = 8192;
        ubifs_err(c, "first %d bytes from LEB %d:%d", len, lnum, offs);
-       print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 32, 4, buf, len, 1);
+       print_hex_dump("", DUMP_PREFIX_OFFSET, 32, 4, buf, len, 1);
 }
 
 /**