summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2018-06-28 19:56:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-08-24 14:06:55 +0300
commit3a17b2c1170c150b6c1f71feca530c8b263bc001 (patch)
tree54400e90fa044cfef0516c194d4617fa5b58abf9 /arch
parentd0d88b5909c71edec41cf75744b10758584899dd (diff)
downloadlinux-3a17b2c1170c150b6c1f71feca530c8b263bc001.tar.xz
acpi/nfit: fix cmd_rc for acpi_nfit_ctl to always return a value
[ Upstream commit c1985cefd844e26bd19673a6df8d8f0b1918c2db ] cmd_rc is passed in by reference to the acpi_nfit_ctl() function and the caller expects a value returned. However, when the package is pass through via the ND_CMD_CALL command, cmd_rc is not touched. Make sure cmd_rc is always set. Fixes: aef253382266 ("libnvdimm, nfit: centralize command status translation") Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com> Signed-off-by: Sasha Levin <alexander.levin@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions