projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
3900744
)
axmap: isset_fn() should use 1ULL, not 1UL
author
Jens Axboe
<axboe@kernel.dk>
Mon, 17 Sep 2018 03:58:26 +0000
(21:58 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Mon, 17 Sep 2018 03:58:26 +0000
(21:58 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
lib/axmap.c
patch
|
blob
|
blame
|
history
diff --git
a/lib/axmap.c
b/lib/axmap.c
index ecd46970d333929667ef2b4113782c7971281b68..27301bd8465848d3cf8af57fb4c28b1078084742 100644
(file)
--- a/
lib/axmap.c
+++ b/
lib/axmap.c
@@
-325,7
+325,7
@@
unsigned int axmap_set_nr(struct axmap *axmap, uint64_t bit_nr,
static bool axmap_isset_fn(struct axmap_level *al, uint64_t offset,
unsigned int bit, void *unused)
{
- return (al->map[offset] & (1UL << bit)) != 0;
+ return (al->map[offset] & (1UL
L
<< bit)) != 0;
}
bool axmap_isset(struct axmap *axmap, uint64_t bit_nr)