WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [linux-2.6.18-xen] fbfront: Improve diagnostics when kth

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [linux-2.6.18-xen] fbfront: Improve diagnostics when kthread_run() fails
From: "Xen patchbot-linux-2.6.18-xen" <patchbot-linux-2.6.18-xen@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 03 Feb 2009 17:50:03 -0800
Delivery-date: Tue, 03 Feb 2009 17:50:08 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [linux-2.6.18-xen] fbfront: Improve diagnostics when kthread_run() fails, Xen patchbot-linux-2.6.18-xen <=