[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [linux-2.6.18-xen] fbfront: Improve diagnostics when kthread_run() fails



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1233669557 0
# Node ID 25cc543a02e88c090d117ee362ad006d1930f47b
# Parent  26ddc59c674df460cb36651ffe58bf30e46b1638
fbfront: Improve diagnostics when kthread_run() fails

Failure is reported with xenbus_dev_fatal(..."register_framebuffer"),
which was already suboptimal before it got moved away from
register_framebuffer(), and is outright misleading now.

Signed-off-by: Markus Armbruster <armbru@xxxxxxxxxx>
---
 drivers/xen/fbfront/xenfb.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 26ddc59c674d -r 25cc543a02e8 drivers/xen/fbfront/xenfb.c
--- a/drivers/xen/fbfront/xenfb.c       Fri Jan 30 10:54:10 2009 +0000
+++ b/drivers/xen/fbfront/xenfb.c       Tue Feb 03 13:59:17 2009 +0000
@@ -211,7 +211,7 @@ static void xenfb_update_screen(struct x
                return;
 
        mutex_lock(&info->mm_lock);
-       
+
        spin_lock_irqsave(&info->dirty_lock, flags);
        if (info->dirty){
                info->dirty = 0;
@@ -837,7 +837,7 @@ static void xenfb_backend_changed(struct
                        if (IS_ERR(info->kthread)) {
                                info->kthread = NULL;
                                xenbus_dev_fatal(dev, PTR_ERR(info->kthread),
-                                               "register_framebuffer");
+                                               "xenfb_thread");
                        }
                }
                break;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.