diff options
author | Dan Williams <dan.j.williams@intel.com> | 2016-12-06 15:06:55 -0800 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2016-12-06 16:30:37 -0800 |
commit | d6eb270c57fef35798525004ddf2ac5dcdadd43b (patch) | |
tree | 5ffbbc6b4585a5df44dc7d5b9017188469252684 /Documentation | |
parent | 82aa37cf09867c5e2c0326649d570e5b25c1189a (diff) |
acpi, nfit: fix bus vs dimm confusion in xlat_status
Given dimms and bus commands share the same command number space we need
to be careful that we are translating status in the correct context.
Otherwise we can, for example, fail an ND_CMD_GET_CONFIG_SIZE command
because max_xfer is zero. It fails because that condition erroneously
correlates with the 'cleared == 0' failure of ND_CMD_CLEAR_ERROR.
Cc: <stable@vger.kernel.org>
Fixes: aef253382266 ("libnvdimm, nfit: centralize command status translation")
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions