projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d0abec
)
bcache: Fix another compiler warning on m68k
author
Kent Overstreet
<kmo@daterainc.com>
Mon, 17 Feb 2014 21:44:06 +0000
(13:44 -0800)
committer
Kent Overstreet
<kmo@daterainc.com>
Tue, 18 Feb 2014 16:55:05 +0000
(08:55 -0800)
Use a bigger hammer this time
Signed-off-by: Kent Overstreet <kmo@daterainc.com>
Cc: linux-stable <stable@vger.kernel.org>
drivers/md/bcache/bset.c
patch
|
blob
|
history
diff --git
a/drivers/md/bcache/bset.c
b/drivers/md/bcache/bset.c
index 3f74b4b0747b9fec3fcb7ad02cfed9ff1baa2f63..54541641530569c442f7113b687428fad4bb18d6 100644
(file)
--- a/
drivers/md/bcache/bset.c
+++ b/
drivers/md/bcache/bset.c
@@
-23,8
+23,8
@@
void bch_dump_bset(struct btree_keys *b, struct bset *i, unsigned set)
for (k = i->start; k < bset_bkey_last(i); k = next) {
next = bkey_next(k);
- printk(KERN_ERR "block %u key %
li
/%u: ", set,
- (u
int64_t *) k - i->d
, i->keys);
+ printk(KERN_ERR "block %u key %
u
/%u: ", set,
+ (u
nsigned) ((u64 *) k - i->d)
, i->keys);
if (b->ops->key_dump)
b->ops->key_dump(b, k);