summaryrefslogtreecommitdiffstats
path: root/crypto/cast6_generic.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2016-12-06 15:06:55 -0800
committerDan Williams <dan.j.williams@intel.com>2016-12-06 16:30:37 -0800
commitd6eb270c57fef35798525004ddf2ac5dcdadd43b (patch)
tree5ffbbc6b4585a5df44dc7d5b9017188469252684 /crypto/cast6_generic.c
parent82aa37cf09867c5e2c0326649d570e5b25c1189a (diff)
downloadlinux-d6eb270c57fef35798525004ddf2ac5dcdadd43b.tar.bz2
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 'crypto/cast6_generic.c')
0 files changed, 0 insertions, 0 deletions