linux_dsm_epyc7002/drivers/acpi/nfit
Dave Jiang c1985cefd8 acpi/nfit: fix cmd_rc for acpi_nfit_ctl to always return a value
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: aef2533822 ("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>
2018-06-30 10:43:39 -07:00
..
core.c acpi/nfit: fix cmd_rc for acpi_nfit_ctl to always return a value 2018-06-30 10:43:39 -07:00
Kconfig License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile nfit: do an ARS scrub on hitting a latent media error 2016-07-24 08:04:04 -07:00
mce.c acpi, nfit: remove redundant __func__ in dev_dbg 2018-03-05 15:58:36 -08:00
nfit.h nfit, address-range-scrub: rework and simplify ARS state machine 2018-04-07 07:55:05 -07:00