diff options
author | Toshi Kani <toshi.kani@hpe.com> | 2019-02-28 13:12:18 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2019-03-01 09:44:59 -0800 |
commit | 5c9d62d0026a439a785e473859cb3ec9b11a69e9 (patch) | |
tree | c0d15e26aff96e90442b371a10708179cf66f83a /drivers/acpi/nfit | |
parent | 9dedc73a4658ebcc0c9b58c3cb84e9ac80122213 (diff) | |
download | linux-5c9d62d0026a439a785e473859cb3ec9b11a69e9.tar.gz linux-5c9d62d0026a439a785e473859cb3ec9b11a69e9.tar.bz2 linux-5c9d62d0026a439a785e473859cb3ec9b11a69e9.zip |
acpi/nfit: Update NFIT flags error message
ACPI NFIT flags field reports major errors on NVDIMM, which need
user's attention.
Update the current log to a proper error message with dev_err().
The current message string is kept for grep-compatibility.
Signed-off-by: Toshi Kani <toshi.kani@hpe.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Robert Elliott <elliott@hpe.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/acpi/nfit')
-rw-r--r-- | drivers/acpi/nfit/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index 5b5e802de7b8..a22e2f2bbb75 100644 --- a/drivers/acpi/nfit/core.c +++ b/drivers/acpi/nfit/core.c @@ -2060,7 +2060,7 @@ static int acpi_nfit_register_dimms(struct acpi_nfit_desc *acpi_desc) if ((mem_flags & ACPI_NFIT_MEM_FAILED_MASK) == 0) continue; - dev_info(acpi_desc->dev, "%s flags:%s%s%s%s%s\n", + dev_err(acpi_desc->dev, "Error found in NVDIMM %s flags:%s%s%s%s%s\n", nvdimm_name(nvdimm), mem_flags & ACPI_NFIT_MEM_SAVE_FAILED ? " save_fail" : "", mem_flags & ACPI_NFIT_MEM_RESTORE_FAILED ? " restore_fail":"", |