libnvdimm: fix smart data retrieval
commit 211291126698c8f047617565b2e2e7f822f86354 upstream. 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. Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d38ae1c2be
commit
fa07cf6613
@ -335,7 +335,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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user