浏览代码

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: Joachim Fenkes <fenkes@de.ibm.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Joachim Fenkes 16 年之前
父节点
当前提交
6b1f9d647e
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drivers/infiniband/hw/ehca/ehca_main.c

+ 1 - 2
drivers/infiniband/hw/ehca/ehca_main.c

@@ -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"
-					     "attached to the LPAR");
+					     "in conjunction with eHCA");
 			return NOTIFY_BAD;
 			return NOTIFY_BAD;
 		}
 		}
 	}
 	}