Skip to content

Commit

Permalink
xen-evtchn: correct comment and error output
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Wei Liu authored and Konrad Rzeszutek Wilk committed Feb 20, 2013
1 parent 22230c1 commit 18283ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/xen/evtchn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 18283ea

Please sign in to comment.