]> Pileus Git - ~andy/linux/commitdiff
xen-evtchn: correct comment and error output
authorWei Liu <wei.liu2@citrix.com>
Mon, 18 Feb 2013 14:57:59 +0000 (14:57 +0000)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 20 Feb 2013 03:02:32 +0000 (22:02 -0500)
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>
drivers/xen/evtchn.c

index b1f60a0c0bea3e00627293101fd3dd38bb1fd96e..4ebd501f1f80ba24d44850873c6dd6892945127a 100644 (file)
@@ -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;
        }