All pastes #1249127 Raw Edit

seanbright

public text v1 · immutable
#1249127 ·published 2008-11-09 00:08 UTC
rendered paste body
Index: drivers/dahdi/dahdi-base.c===================================================================--- drivers/dahdi/dahdi-base.c	(revision 5268)+++ drivers/dahdi/dahdi-base.c	(working copy)@@ -1495,7 +1495,19 @@ }  #if defined(CONFIG_DAHDI_NET) || defined(CONFIG_DAHDI_PPP)+static inline void print_debug_writebuf(struct dahdi_chan* ss, struct sk_buff *skb, int oldbuf)+{+#ifdef CONFIG_DAHDI_DEBUG+	int x;++	module_printk(KERN_NOTICE, "Buffered %d bytes to go out in buffer %d\n", ss->writen[oldbuf], oldbuf);+	module_printk(KERN_DEBUG "");+	for (x=0;x<ss->writen[oldbuf];x++)+		printk("%02x ", ss->writebuf[oldbuf][x]);+	printk("\n"); #endif+}+#endif  #ifdef CONFIG_DAHDI_NET #ifdef NEW_HDLC_INTERFACE@@ -1637,20 +1649,6 @@ 	return kzalloc(sizeof(struct dahdi_hdlc), GFP_KERNEL); } -static inline void print_debug_writebuf(struct dahdi_chan* ss, struct sk_buff *skb,-		int oldbuf)-{-#ifdef CONFIG_DAHDI_DEBUG-	int x;--	module_printk(KERN_NOTICE, "Buffered %d bytes to go out in buffer %d\n", ss->writen[oldbuf], oldbuf);-	module_printk(KERN_DEBUG "");-	for (x=0;x<ss->writen[oldbuf];x++)-		printk("%02x ", ss->writebuf[oldbuf][x]);-	printk("\n");-#endif-}- #ifdef NEW_HDLC_INTERFACE static int dahdi_xmit(struct sk_buff *skb, struct net_device *dev) {