diff options
author | akpm@osdl.org <akpm@osdl.org> | 2005-06-21 20:17:19 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 22:07:45 -0400 |
commit | fc7ca163a448dfb23f44c9a47ebc8cbe52cf49df (patch) | |
tree | f13c36fa8a161b2d3721311067941a4d4a464cba /drivers | |
parent | cdbb4cc2e5c30895709163d8544057db21ee23e0 (diff) |
[PATCH] md printk fix
A u64 is not an unsigned long long. On power4 it is `long', and printk warns.
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/bitmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 275a2aa79b79..dd84e15fcaea 100644 --- a/drivers/md/bitmap.c +++ b/drivers/md/bitmap.c | |||
@@ -377,7 +377,8 @@ void bitmap_print_sb(struct bitmap *bitmap) | |||
377 | printk(KERN_DEBUG " state: %08x\n", le32_to_cpu(sb->state)); | 377 | printk(KERN_DEBUG " state: %08x\n", le32_to_cpu(sb->state)); |
378 | printk(KERN_DEBUG " chunksize: %d B\n", le32_to_cpu(sb->chunksize)); | 378 | printk(KERN_DEBUG " chunksize: %d B\n", le32_to_cpu(sb->chunksize)); |
379 | printk(KERN_DEBUG "daemon sleep: %ds\n", le32_to_cpu(sb->daemon_sleep)); | 379 | printk(KERN_DEBUG "daemon sleep: %ds\n", le32_to_cpu(sb->daemon_sleep)); |
380 | printk(KERN_DEBUG " sync size: %llu KB\n", le64_to_cpu(sb->sync_size)); | 380 | printk(KERN_DEBUG " sync size: %llu KB\n", |
381 | (unsigned long long)le64_to_cpu(sb->sync_size)); | ||
381 | kunmap(bitmap->sb_page); | 382 | kunmap(bitmap->sb_page); |
382 | } | 383 | } |
383 | 384 | ||