X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=fs%2Fubifs%2Fscan.c;h=876a6ee6616b0eed2d7ff3d7371a528ed9fbf715;hb=61b29b82683863a970fd4609a7c58512872616bc;hp=12a3597468d7809870c7fe82d0a5ed58b6d17472;hpb=2431492aef1de33bd222c97ecc131a338d9c454e;p=oweals%2Fu-boot.git diff --git a/fs/ubifs/scan.c b/fs/ubifs/scan.c index 12a3597468..876a6ee661 100644 --- a/fs/ubifs/scan.c +++ b/fs/ubifs/scan.c @@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0+ /* * This file is part of UBIFS. * * Copyright (C) 2006-2008 Nokia Corporation * - * SPDX-License-Identifier: GPL-2.0+ - * * Authors: Adrian Hunter * Artem Bityutskiy (Битюцкий Артём) */ @@ -17,6 +16,8 @@ */ #ifdef __UBOOT__ +#include +#include #include #endif #include "ubifs.h" @@ -237,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); } /**