netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [NET] Add missing newline for skb_*_panic
@ 2005-04-21  5:08 Herbert Xu
  2005-04-21 22:11 ` Patrick McHardy
  0 siblings, 1 reply; 8+ messages in thread
From: Herbert Xu @ 2005-04-21  5:08 UTC (permalink / raw)
  To: David S. Miller, netdev

[-- Attachment #1: Type: text/plain, Size: 478 bytes --]

Hi Dave:

Here is a trivial patch to make the skb_under_panic/skb_over_panic
messages to look nicer.  As it is their printk is joined onto the
first line of the BUG output because of a missing newline.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[-- Attachment #2: p --]
[-- Type: text/plain, Size: 714 bytes --]

===== net/core/skbuff.c 1.44 vs edited =====
--- 1.44/net/core/skbuff.c	2005-03-12 07:32:26 +11:00
+++ edited/net/core/skbuff.c	2005-04-21 15:06:12 +10:00
@@ -86,7 +86,7 @@
  */
 void skb_over_panic(struct sk_buff *skb, int sz, void *here)
 {
-	printk(KERN_INFO "skput:over: %p:%d put:%d dev:%s",
+	printk(KERN_INFO "skput:over: %p:%d put:%d dev:%s\n",
 		here, skb->len, sz, skb->dev ? skb->dev->name : "<NULL>");
 	BUG();
 }
@@ -102,7 +102,7 @@
 
 void skb_under_panic(struct sk_buff *skb, int sz, void *here)
 {
-	printk(KERN_INFO "skput:under: %p:%d put:%d dev:%s",
+	printk(KERN_INFO "skput:under: %p:%d put:%d dev:%s\n",
                here, skb->len, sz, skb->dev ? skb->dev->name : "<NULL>");
 	BUG();
 }

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-04-22  0:02 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-21  5:08 [NET] Add missing newline for skb_*_panic Herbert Xu
2005-04-21 22:11 ` Patrick McHardy
2005-04-21 22:20   ` Patrick McHardy
2005-04-21 23:14     ` Herbert Xu
2005-04-21 23:25       ` Patrick McHardy
2005-04-21 23:50         ` Herbert Xu
2005-04-22  0:02           ` Patrick McHardy
2005-04-21 23:44     ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).