projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9dedc73
)
acpi/nfit: Update NFIT flags error message
author
Toshi Kani
<
[email protected]
>
Thu, 28 Feb 2019 20:12:18 +0000
(13:12 -0700)
committer
Dan Williams
<
[email protected]
>
Fri, 1 Mar 2019 17:44:59 +0000
(09:44 -0800)
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 <
[email protected]
>
Cc: Dan Williams <
[email protected]
>
Cc: "Rafael J. Wysocki" <
[email protected]
>
Cc: Robert Elliott <
[email protected]
>
Signed-off-by: Dan Williams <
[email protected]
>
drivers/acpi/nfit/core.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/nfit/core.c
b/drivers/acpi/nfit/core.c
index 5b5e802de7b84990b7481f1a0cb6c3cb8845d52f..a22e2f2bbb75aa34b860931ff1edb027e436bf08 100644
(file)
--- 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":"",