Commit 0028d338 authored by Weibin Sun's avatar Weibin Sun Committed by Vikram Narayanan
Browse files

fix incorrect error message

parent ca725b16
......@@ -1986,10 +1986,11 @@ int lcd_move_module(lcd_struct *lcd, struct module *mod) {
if (!ret) {
ret = __move_host_mapping(lcd, mod->module_core, mod->core_size, 1);
if (!ret) {
vmcs_writel(GUEST_RIP, (unsigned long)mod->module_init);
vmcs_writel(GUEST_RIP, (unsigned long)mod->init);
return ret;
printk(KERN_ERR "lcd: failed to move module %d\n", ret);
Supports Markdown
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