projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dm: core: Require users of devres to include the header
[oweals/u-boot.git]
/
fs
/
ubifs
/
scan.c
diff --git
a/fs/ubifs/scan.c
b/fs/ubifs/scan.c
index 12a3597468d7809870c7fe82d0a5ed58b6d17472..876a6ee6616b0eed2d7ff3d7371a528ed9fbf715 100644
(file)
--- 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
*
/*
* This file is part of UBIFS.
*
* Copyright (C) 2006-2008 Nokia Corporation
*
- * SPDX-License-Identifier: GPL-2.0+
- *
* Authors: Adrian Hunter
* Artem Bityutskiy (Битюцкий Артём)
*/
* Authors: Adrian Hunter
* Artem Bityutskiy (Битюцкий Артём)
*/
@@
-17,6
+16,8
@@
*/
#ifdef __UBOOT__
*/
#ifdef __UBOOT__
+#include <hexdump.h>
+#include <dm/devres.h>
#include <linux/err.h>
#endif
#include "ubifs.h"
#include <linux/err.h>
#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);
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);
}
/**
}
/**