提交 18283ea7 编写于 作者: W Wei Liu 提交者: Konrad Rzeszutek Wilk

xen-evtchn: correct comment and error output

The evtchn device has been moved to /dev/xen. Also change log level to
KERN_ERR as other xen drivers.
Signed-off-by: NWei Liu <wei.liu2@citrix.com>
Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
上级 22230c18
...@@ -534,10 +534,10 @@ static int __init evtchn_init(void) ...@@ -534,10 +534,10 @@ static int __init evtchn_init(void)
spin_lock_init(&port_user_lock); spin_lock_init(&port_user_lock);
/* Create '/dev/misc/evtchn'. */ /* Create '/dev/xen/evtchn'. */
err = misc_register(&evtchn_miscdev); err = misc_register(&evtchn_miscdev);
if (err != 0) { if (err != 0) {
printk(KERN_ALERT "Could not register /dev/misc/evtchn\n"); printk(KERN_ERR "Could not register /dev/xen/evtchn\n");
return err; return err;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册