summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/nct7904.c
diff options
context:
space:
mode:
authorMatias Bjørling <mb@lightnvm.io>2018-07-13 10:48:40 +0200
committerJens Axboe <axboe@kernel.dk>2018-07-13 16:14:39 +0200
commit921aebfac0871e8212913039d5241c0b3527eddb (patch)
treec513e0b6b4196b84e56a1374f252cc5fa63fc91d /drivers/hwmon/nct7904.c
parentlightnvm: Remove redundant rq->__data_len initialization (diff)
downloadlinux-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