aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@linux-foundation.org>2007-04-20 19:40:01 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 01:29:17 -0400
commit0c6fcc8a8cfcc737d05b6be8b2c3e931ef99cfc2 (patch)
tree53da0c434b22dba352d34c01b50154a4ce23e564 /include/linux
parent3e6cf558b0098a15d8c360c4eaad3e4d719a555a (diff)
[NET] skbuff: skb_store_bits const is backwards
Getting warnings becuase skb_store_bits has skb as constant, but the function overwrites it. Looks like const was on the wrong side. Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/skbuff.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index c413afbe0b9c..50f6f6a094cf 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -1494,8 +1494,8 @@ extern __wsum skb_checksum(const struct sk_buff *skb, int offset,
1494 int len, __wsum csum); 1494 int len, __wsum csum);
1495extern int skb_copy_bits(const struct sk_buff *skb, int offset, 1495extern int skb_copy_bits(const struct sk_buff *skb, int offset,
1496 void *to, int len); 1496 void *to, int len);
1497extern int skb_store_bits(const struct sk_buff *skb, int offset, 1497extern int skb_store_bits(struct sk_buff *skb, int offset,
1498 void *from, int len); 1498 const void *from, int len);
1499extern __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, 1499extern __wsum skb_copy_and_csum_bits(const struct sk_buff *skb,
1500 int offset, u8 *to, int len, 1500 int offset, u8 *to, int len,
1501 __wsum csum); 1501 __wsum csum);