Commit 6b1f9d64 authored by Joachim Fenkes's avatar Joachim Fenkes Committed by Roland Dreier

IB/ehca: Change misleading error message on memory hotplug

The error message printed when the eHCA driver prevents memory hotplug
is misleading -- the user might think that hot-removing the lhca,
hotplugging memory, then hot-adding the lhca again will work, but it
actually doesn't.
Signed-off-by: default avatarJoachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 4ffaf869
...@@ -994,8 +994,7 @@ static int ehca_mem_notifier(struct notifier_block *nb, ...@@ -994,8 +994,7 @@ static int ehca_mem_notifier(struct notifier_block *nb,
if (printk_timed_ratelimit(&ehca_dmem_warn_time, if (printk_timed_ratelimit(&ehca_dmem_warn_time,
30 * 1000)) 30 * 1000))
ehca_gen_err("DMEM operations are not allowed" ehca_gen_err("DMEM operations are not allowed"
"as long as an ehca adapter is" "in conjunction with eHCA");
"attached to the LPAR");
return NOTIFY_BAD; return NOTIFY_BAD;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment