[patch 8/9] [PATCH] kmsg: convert claw printk messages to kmsg api.

Previous thread: [patch 7/9] [PATCH] ctcm: fix minor findings from code analysis tool by Ursula Braun on Tuesday, March 24, 2009 - 5:29 am. (1 message)

Next thread: [ANNOUNCE]: Release of iptables-1.4.3.1 by Pablo Neira Ayuso on Tuesday, March 24, 2009 - 6:08 am. (1 message)
From: Ursula Braun
Date: Tuesday, March 24, 2009 - 5:29 am

From: Andy Richter <richtera@us.ibm.com>

Signed-off-by: Andy Richter <richtera@us.ibm.com>
Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
---

 drivers/s390/net/claw.c |  428 +++++++++++++++++++++++++-----------------------
 1 file changed, 231 insertions(+), 197 deletions(-)

diff -urpN linux-2.6/drivers/s390/net/claw.c linux-2.6-patched/drivers/s390/net/claw.c
--- linux-2.6/drivers/s390/net/claw.c	2009-03-19 11:16:39.000000000 +0100
+++ linux-2.6-patched/drivers/s390/net/claw.c	2009-03-19 11:16:40.000000000 +0100
@@ -60,6 +60,9 @@
  *    1.25  Added Packing support
  *    1.5
  */
+
+#define KMSG_COMPONENT "claw"
+
 #include <asm/ccwdev.h>
 #include <asm/ccwgroup.h>
 #include <asm/debug.h>
@@ -94,7 +97,7 @@
    CLAW uses the s390dbf file system  see claw_trace and claw_setup
 */
 
-
+static char version[] __initdata = "CLAW driver";
 static char debug_buffer[255];
 /**
  * Debug Facility Stuff
@@ -206,20 +209,30 @@ static struct net_device_stats *claw_sta
 static int pages_to_order_of_mag(int num_of_pages);
 static struct sk_buff *claw_pack_skb(struct claw_privbk *privptr);
 /* sysfs Functions */
-static ssize_t claw_hname_show(struct device *dev, struct device_attribute *attr, char *buf);
-static ssize_t claw_hname_write(struct device *dev, struct device_attribute *attr,
+static ssize_t claw_hname_show(struct device *dev,
+	struct device_attribute *attr, char *buf);
+static ssize_t claw_hname_write(struct device *dev,
+	struct device_attribute *attr,
 	const char *buf, size_t count);
-static ssize_t claw_adname_show(struct device *dev, struct device_attribute *attr, char *buf);
-static ssize_t claw_adname_write(struct device *dev, struct device_attribute *attr,
+static ssize_t claw_adname_show(struct device *dev,
+	struct device_attribute *attr, char *buf);
+static ssize_t claw_adname_write(struct device *dev,
+	struct device_attribute *attr,
 	const char *buf, size_t count);
-static ssize_t claw_apname_show(struct device *dev, struct ...
Previous thread: [patch 7/9] [PATCH] ctcm: fix minor findings from code analysis tool by Ursula Braun on Tuesday, March 24, 2009 - 5:29 am. (1 message)

Next thread: [ANNOUNCE]: Release of iptables-1.4.3.1 by Pablo Neira Ayuso on Tuesday, March 24, 2009 - 6:08 am. (1 message)