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] Make probe less chatty.

# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 6d8c80499148ab8d7409636a94cc8d05868dd1a6
# Parent  11f556cac45bf9ede12037e1962bed19f88b0dae
Make probe less chatty.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r 11f556cac45b -r 6d8c80499148 
linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c    Thu Aug 18 
18:55:13 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_probe.c    Thu Aug 18 
18:56:47 2005
@@ -307,8 +307,6 @@
        
        err = bus->get_bus_id(xendev->dev.bus_id, xendev->nodename);
        if (err) {
-               printk("XENBUS: Failed to get bus id for %s: error %i\n",
-                      xendev->nodename, err);
                kfree(xendev);
                return err;
        }
@@ -454,16 +452,11 @@
        exists = xenbus_exists(node, "");
        dev = xenbus_device_find(node, &bus->bus);
 
-       printk("xenbus: device %s %s\n", node, dev ? "exists" : "new");
        if (dev && !exists) {
-               printk("xenbus: Unregistering device %s\n", node);
                device_unregister(&dev->dev);
        } else if (!dev && exists) {
-               printk("xenbus: Adding device %s\n", node);
                xenbus_probe_node(bus, type, node);
-       } else
-               printk("xenbus: strange, %s already %s\n", node,
-                      exists ? "exists" : "gone");
+       }
        if (dev)
                put_device(&dev->dev);
 }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Make probe less chatty., Xen patchbot -unstable <=