aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/packet_history.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-08-13 22:42:25 -0300
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 15:59:59 -0700
commita1d3a35518779df0579dd9de0121354b49c68ddc (patch)
tree1d99d52393b5eb2d46e306cecbaf86547cafbc6a /net/dccp/packet_history.h
parent[DCCP]: Fix RESET handling in dccp_rcv_state_process (diff)
downloadlinux-dev-a1d3a35518779df0579dd9de0121354b49c68ddc.tar.xz
linux-dev-a1d3a35518779df0579dd9de0121354b49c68ddc.zip
[DCCP]: Fix sparse warnings
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/packet_history.h')
-rw-r--r--net/dccp/packet_history.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/net/dccp/packet_history.h b/net/dccp/packet_history.h
index 489fff45ccdf..2e5ba343e3dd 100644
--- a/net/dccp/packet_history.h
+++ b/net/dccp/packet_history.h
@@ -79,8 +79,8 @@ extern struct dccp_rx_hist_entry *
dccp_rx_hist_find_data_packet(const struct list_head *list);
static inline struct dccp_tx_hist_entry *
- dccp_tx_hist_entry_new(struct dccp_tx_hist *hist,
- const int prio)
+ dccp_tx_hist_entry_new(struct dccp_tx_hist *hist,
+ const unsigned int __nocast prio)
{
struct dccp_tx_hist_entry *entry = kmem_cache_alloc(hist->dccptxh_slab,
prio);
@@ -127,10 +127,10 @@ static inline struct dccp_tx_hist_entry *
}
static inline struct dccp_rx_hist_entry *
- dccp_rx_hist_entry_new(struct dccp_rx_hist *hist,
- const u32 ndp,
- const struct sk_buff *skb,
- const int prio)
+ dccp_rx_hist_entry_new(struct dccp_rx_hist *hist,
+ const u32 ndp,
+ const struct sk_buff *skb,
+ const unsigned int __nocast prio)
{
struct dccp_rx_hist_entry *entry = kmem_cache_alloc(hist->dccprxh_slab,
prio);