diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-03-26 16:49:02 -0400 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-04-08 16:33:48 -0400 |
commit | c19ed23a0b1848eca6b6f22c1ee233abe54d37f9 (patch) | |
tree | 331a73cb1e6a5e1dc64ab3756dba779cf8a294a5 /drivers/md/bcache/btree.c | |
parent | 169ef1cf6171d35550fef85645b83b960e241cff (diff) |
bcache: Sparse fixes
Signed-off-by: Kent Overstreet <koverstreet@google.com>
Diffstat (limited to 'drivers/md/bcache/btree.c')
-rw-r--r-- | drivers/md/bcache/btree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/btree.c b/drivers/md/bcache/btree.c index f2b2c653c5a5..767b3fbc2fbe 100644 --- a/drivers/md/bcache/btree.c +++ b/drivers/md/bcache/btree.c | |||
@@ -130,7 +130,7 @@ static uint64_t btree_csum_set(struct btree *b, struct bset *i) | |||
130 | void *data = (void *) i + 8, *end = end(i); | 130 | void *data = (void *) i + 8, *end = end(i); |
131 | 131 | ||
132 | crc = bch_crc64_update(crc, data, end - data); | 132 | crc = bch_crc64_update(crc, data, end - data); |
133 | return crc ^ 0xffffffffffffffff; | 133 | return crc ^ 0xffffffffffffffffULL; |
134 | } | 134 | } |
135 | 135 | ||
136 | static void btree_bio_endio(struct bio *bio, int error) | 136 | static void btree_bio_endio(struct bio *bio, int error) |