summaryrefslogtreecommitdiffstats
path: root/fs/ubifs/debug.c
diff options
context:
space:
mode:
authorAlexander Beregalov2008-09-17 20:09:41 +0200
committerArtem Bityutskiy2008-09-18 08:57:57 +0200
commit7424bac82ff3bd956ea04101550e01bdae17284d (patch)
treea9f5e3aacc822ad1bdb9fcb84193b44e1df147d3 /fs/ubifs/debug.c
parentUBIFS: remove incorrect assert (diff)
downloadkernel-qcow2-linux-7424bac82ff3bd956ea04101550e01bdae17284d.tar.gz
kernel-qcow2-linux-7424bac82ff3bd956ea04101550e01bdae17284d.tar.xz
kernel-qcow2-linux-7424bac82ff3bd956ea04101550e01bdae17284d.zip
UBIFS: fix printk format warnings
fs/ubifs/dir.c:428: warning: format '%llu' expects type 'long long unsigned int', but argument 5 has type 'long unsigned int' fs/ubifs/debug.c:541: warning: format '%llu' expects type 'long long unsigned int', but argument 2 has type 'long unsigned int' Signed-off-by: Alexander Beregalov <a.beregalov@gmail.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'fs/ubifs/debug.c')
-rw-r--r--fs/ubifs/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ubifs/debug.c b/fs/ubifs/debug.c
index b9cb77473758..d7f7645779f2 100644
--- a/fs/ubifs/debug.c
+++ b/fs/ubifs/debug.c
@@ -538,7 +538,7 @@ void dbg_dump_node(const struct ubifs_info *c, const void *node)
printk(KERN_DEBUG "\t%d orphan inode numbers:\n", n);
for (i = 0; i < n; i++)
printk(KERN_DEBUG "\t ino %llu\n",
- le64_to_cpu(orph->inos[i]));
+ (unsigned long long)le64_to_cpu(orph->inos[i]));
break;
}
default: