mirror of
https://github.com/adulau/aha.git
synced 2024-12-31 21:26:18 +00:00
[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>
This commit is contained in:
parent
cdbb4cc2e5
commit
fc7ca163a4
1 changed files with 2 additions and 1 deletions
|
@ -377,7 +377,8 @@ void bitmap_print_sb(struct bitmap *bitmap)
|
|||
printk(KERN_DEBUG " state: %08x\n", le32_to_cpu(sb->state));
|
||||
printk(KERN_DEBUG " chunksize: %d B\n", le32_to_cpu(sb->chunksize));
|
||||
printk(KERN_DEBUG "daemon sleep: %ds\n", le32_to_cpu(sb->daemon_sleep));
|
||||
printk(KERN_DEBUG " sync size: %llu KB\n", le64_to_cpu(sb->sync_size));
|
||||
printk(KERN_DEBUG " sync size: %llu KB\n",
|
||||
(unsigned long long)le64_to_cpu(sb->sync_size));
|
||||
kunmap(bitmap->sb_page);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue