summaryrefslogtreecommitdiffstats
path: root/drivers/xen
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2013-02-18 15:57:59 +0100
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-02-20 04:02:32 +0100
commit18283ea7433c703d3fcce33d189b637a7aaf0a49 (patch)
treead76e658fbd710d86167521c97e1bd71cc3ed855 /drivers/xen
parentxen/tmem: Add missing %s in the printk statement. (diff)
downloadlinux-18283ea7433c703d3fcce33d189b637a7aaf0a49.tar.xz
linux-18283ea7433c703d3fcce33d189b637a7aaf0a49.zip
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: Wei Liu <wei.liu2@citrix.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'drivers/xen')
-rw-r--r--drivers/xen/evtchn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/evtchn.c b/drivers/xen/evtchn.c
index b1f60a0c0bea..4ebd501f1f80 100644
--- a/drivers/xen/evtchn.c
+++ b/drivers/xen/evtchn.c
@@ -534,10 +534,10 @@ static int __init evtchn_init(void)
spin_lock_init(&port_user_lock);
- /* Create '/dev/misc/evtchn'. */
+ /* Create '/dev/xen/evtchn'. */
err = misc_register(&evtchn_miscdev);
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;
}