nfit, nd_blk: BLK status register is only 32 bits
authorRoss Zwisler <ross.zwisler@linux.intel.com>
Thu, 20 Aug 2015 22:27:38 +0000 (16:27 -0600)
committerDan Williams <dan.j.williams@intel.com>
Tue, 25 Aug 2015 23:42:01 +0000 (19:42 -0400)
commitde4a196c02a2a2631b516d90da6e8d052ccb07e8
treefe8c8914874372404e49d1f7c927fa66e8516087
parentcbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f
nfit, nd_blk: BLK status register is only 32 bits

Only read 32 bits for the BLK status register in read_blk_stat().

The format and size of this register is defined in the
"NVDIMM Driver Writer's guide":

http://pmem.io/documents/NVDIMM_Driver_Writers_Guide.pdf

Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Reported-by: Nicholas Moulin <nicholas.w.moulin@linux.intel.com>
Tested-by: Nicholas Moulin <nicholas.w.moulin@linux.intel.com>
Reviewed-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/acpi/nfit.c