diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-04-07 19:58:44 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-04-07 19:58:44 -0700 |
commit | 211291126698c8f047617565b2e2e7f822f86354 (patch) | |
tree | 7ded55a2b2734de2b5b576eced61e44abb4439de /drivers/nvdimm/bus.c | |
parent | 9735a22799b9214d17d3c231fe377fc852f042e9 (diff) | |
download | op-kernel-dev-211291126698c8f047617565b2e2e7f822f86354.zip op-kernel-dev-211291126698c8f047617565b2e2e7f822f86354.tar.gz |
libnvdimm: fix smart data retrieval
It appears that smart data retrieval has been broken the since the
initial implementation. Fix the payload size to be 128-bytes per the
specification.
Cc: <stable@vger.kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/bus.c')
-rw-r--r-- | drivers/nvdimm/bus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/bus.c b/drivers/nvdimm/bus.c index fc82743..19f822d 100644 --- a/drivers/nvdimm/bus.c +++ b/drivers/nvdimm/bus.c @@ -407,7 +407,7 @@ static const struct nd_cmd_desc __nd_cmd_dimm_descs[] = { [ND_CMD_IMPLEMENTED] = { }, [ND_CMD_SMART] = { .out_num = 2, - .out_sizes = { 4, 8, }, + .out_sizes = { 4, 128, }, }, [ND_CMD_SMART_THRESHOLD] = { .out_num = 2, |