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] [xen-unstable] linux: quieten some driver printk logging

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] linux: quieten some driver printk logging.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 14 Feb 2007 10:15:13 -0800
Delivery-date: Wed, 14 Feb 2007 10:15:09 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1171469128 0
# Node ID 3f63c1825b0dd86281657aa1b9715fc93a88a2ac
# Parent  d44eb9e7f97b05d648dc8b0d614ffb32df667354
linux: quieten some driver printk logging.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c    |    5 +++--
 linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c     |    5 +++--
 linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c    |    2 +-
 linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c |    6 +++---
 4 files changed, 10 insertions(+), 8 deletions(-)

diff -r d44eb9e7f97b -r 3f63c1825b0d 
linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c Wed Feb 14 15:54:47 
2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/blkback/xenbus.c Wed Feb 14 16:05:28 
2007 +0000
@@ -344,7 +344,7 @@ static void frontend_changed(struct xenb
        switch (frontend_state) {
        case XenbusStateInitialising:
                if (dev->state == XenbusStateClosed) {
-                       printk("%s: %s: prepare for reconnect\n",
+                       printk(KERN_INFO "%s: %s: prepare for reconnect\n",
                               __FUNCTION__, dev->nodename);
                        xenbus_switch_state(dev, XenbusStateInitWait);
                }
@@ -488,7 +488,8 @@ static int connect_ring(struct backend_i
                xenbus_dev_fatal(dev, err, "unknown fe protocol %s", protocol);
                return -1;
        }
-       printk("blkback: ring-ref %ld, event-channel %d, protocol %d (%s)\n",
+       printk(KERN_INFO
+              "blkback: ring-ref %ld, event-channel %d, protocol %d (%s)\n",
               ring_ref, evtchn, be->blkif->blk_protocol, protocol);
 
        /* Map the shared frame, irq etc. */
diff -r d44eb9e7f97b -r 3f63c1825b0d 
linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c  Wed Feb 14 15:54:47 
2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/blktap/xenbus.c  Wed Feb 14 16:05:28 
2007 +0000
@@ -272,7 +272,7 @@ static void tap_frontend_changed(struct 
        switch (frontend_state) {
        case XenbusStateInitialising:
                if (dev->state == XenbusStateClosed) {
-                       printk("%s: %s: prepare for reconnect\n",
+                       printk(KERN_INFO "%s: %s: prepare for reconnect\n",
                               __FUNCTION__, dev->nodename);
                        xenbus_switch_state(dev, XenbusStateInitWait);
                }
@@ -369,7 +369,8 @@ static int connect_ring(struct backend_i
                xenbus_dev_fatal(dev, err, "unknown fe protocol %s", protocol);
                return -1;
        }
-       printk("blktap: ring-ref %ld, event-channel %d, protocol %d (%s)\n",
+       printk(KERN_INFO
+              "blktap: ring-ref %ld, event-channel %d, protocol %d (%s)\n",
               ring_ref, evtchn, be->blkif->blk_protocol, protocol);
 
        /* Map the shared frame, irq etc. */
diff -r d44eb9e7f97b -r 3f63c1825b0d 
linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c
--- a/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c Wed Feb 14 15:54:47 
2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/netback/xenbus.c Wed Feb 14 16:05:28 
2007 +0000
@@ -217,7 +217,7 @@ static void frontend_changed(struct xenb
        switch (frontend_state) {
        case XenbusStateInitialising:
                if (dev->state == XenbusStateClosed) {
-                       printk("%s: %s: prepare for reconnect\n",
+                       printk(KERN_INFO "%s: %s: prepare for reconnect\n",
                               __FUNCTION__, dev->nodename);
                        if (be->netif) {
                                netif_disconnect(be->netif);
diff -r d44eb9e7f97b -r 3f63c1825b0d 
linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c
--- a/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c      Wed Feb 14 
15:54:47 2007 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/netfront/netfront.c      Wed Feb 14 
16:05:28 2007 +0000
@@ -1505,7 +1505,7 @@ static void netif_release_rx_bufs(struct
        int id, ref;
 
        if (np->copying_receiver) {
-               printk("%s: fix me for copying receiver.\n", __FUNCTION__);
+               WPRINTK("%s: fix me for copying receiver.\n", __FUNCTION__);
                return;
        }
 
@@ -1555,8 +1555,8 @@ static void netif_release_rx_bufs(struct
                xfer++;
        }
 
-       printk("%s: %d xfer, %d noxfer, %d unused\n",
-              __FUNCTION__, xfer, noxfer, unused);
+       IPRINTK("%s: %d xfer, %d noxfer, %d unused\n",
+               __FUNCTION__, xfer, noxfer, unused);
 
        if (xfer) {
                /* Some pages are no longer absent... */

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] linux: quieten some driver printk logging., Xen patchbot-unstable <=