diff options
author | Matias Bjørling <mb@lightnvm.io> | 2018-07-13 10:48:40 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-13 16:14:39 +0200 |
commit | 921aebfac0871e8212913039d5241c0b3527eddb (patch) | |
tree | c513e0b6b4196b84e56a1374f252cc5fa63fc91d /drivers/hwmon/nct7904.c | |
parent | lightnvm: Remove redundant rq->__data_len initialization (diff) | |
download | linux-921aebfac0871e8212913039d5241c0b3527eddb.tar.xz linux-921aebfac0871e8212913039d5241c0b3527eddb.zip |
lightnvm: pblk: fix read_bitmap for 32bit archs
If using pblk on a 32bit architecture, and there is a need to
perform a partial read, the partial read bitmap will only have
allocated 32 entries, where as 64 are needed.
Make sure that the read_bitmap is initialized to 64bits on 32bit
architectures as well.
Signed-off-by: Matias Bjørling <mb@lightnvm.io>
Reviewed-by: Igor Konopko <igor.j.konopko@intel.com>
Reviewed-by: Javier González <javier@cnexlabs.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/hwmon/nct7904.c')
0 files changed, 0 insertions, 0 deletions