aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/evtchn.c
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2013-02-18 09:57:59 -0500
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2013-02-19 22:02:32 -0500
commit18283ea7433c703d3fcce33d189b637a7aaf0a49 (patch)
treead76e658fbd710d86167521c97e1bd71cc3ed855 /drivers/xen/evtchn.c
parent22230c18ab3bb0b997144687fcd9bd6ababa72bd (diff)
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/evtchn.c')
-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)
534 534
535 spin_lock_init(&port_user_lock); 535 spin_lock_init(&port_user_lock);
536 536
537 /* Create '/dev/misc/evtchn'. */ 537 /* Create '/dev/xen/evtchn'. */
538 err = misc_register(&evtchn_miscdev); 538 err = misc_register(&evtchn_miscdev);
539 if (err != 0) { 539 if (err != 0) {
540 printk(KERN_ALERT "Could not register /dev/misc/evtchn\n"); 540 printk(KERN_ERR "Could not register /dev/xen/evtchn\n");
541 return err; 541 return err;
542 } 542 }
543 543