bcache: Sparse fixes

Signed-off-by: Kent Overstreet <koverstreet@google.com>
This commit is contained in:
Kent Overstreet
2013-03-26 13:49:02 -07:00
parent 169ef1cf61
commit c19ed23a0b
4 changed files with 92 additions and 90 deletions

View File

@ -130,7 +130,7 @@ static uint64_t btree_csum_set(struct btree *b, struct bset *i)
void *data = (void *) i + 8, *end = end(i);
crc = bch_crc64_update(crc, data, end - data);
return crc ^ 0xffffffffffffffff;
return crc ^ 0xffffffffffffffffULL;
}
static void btree_bio_endio(struct bio *bio, int error)