summaryrefslogtreecommitdiff
path: root/linux/src
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2011-05-19 02:06:08 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2011-05-19 02:08:42 +0200
commit6847f9c7e42c299ce27459b33885369cee2b26b2 (patch)
tree305ce37983764e0f67b0757303e7f0687f9ef174 /linux/src
parent156910fff101a2479186bc84643290dad884fbc8 (diff)
Fix gcc 4.6 build
* linux/dev/include/linux/skbuff.h (skb_put, skb_push): Do not print the address of a local label, gcc 4.6 does not build this and the debugger can output it anyway. * linux/src/include/linux/skbuff.h (skb_put, skb_push): Likewise.
Diffstat (limited to 'linux/src')
-rw-r--r--linux/src/include/linux/skbuff.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/linux/src/include/linux/skbuff.h b/linux/src/include/linux/skbuff.h
index cf05129..e4c77b4 100644
--- a/linux/src/include/linux/skbuff.h
+++ b/linux/src/include/linux/skbuff.h
@@ -405,9 +405,7 @@ extern __inline__ unsigned char *skb_put(struct sk_buff *skb, int len)
skb->len+=len;
if(skb->tail>skb->end)
{
- __label__ here;
- panic("skput:over: %p:%d", &&here,len);
-here:
+ panic("skput:over: %d", len);
}
return tmp;
}
@@ -418,9 +416,7 @@ extern __inline__ unsigned char *skb_push(struct sk_buff *skb, int len)
skb->len+=len;
if(skb->data<skb->head)
{
- __label__ here;
- panic("skpush:under: %p:%d", &&here,len);
-here:
+ panic("skpush:under: %d", len);
}
return skb->data;
}