aboutsummaryrefslogtreecommitdiffstats
path: root/net/dccp/packet_history.h
diff options
context:
space:
mode:
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 *
79 dccp_rx_hist_find_data_packet(const struct list_head *list); 79 dccp_rx_hist_find_data_packet(const struct list_head *list);
80 80
81static inline struct dccp_tx_hist_entry * 81static inline struct dccp_tx_hist_entry *
82 dccp_tx_hist_entry_new(struct dccp_tx_hist *hist, 82 dccp_tx_hist_entry_new(struct dccp_tx_hist *hist,
83 const int prio) 83 const unsigned int __nocast prio)
84{ 84{
85 struct dccp_tx_hist_entry *entry = kmem_cache_alloc(hist->dccptxh_slab, 85 struct dccp_tx_hist_entry *entry = kmem_cache_alloc(hist->dccptxh_slab,
86 prio); 86 prio);
@@ -127,10 +127,10 @@ static inline struct dccp_tx_hist_entry *
127} 127}
128 128
129static inline struct dccp_rx_hist_entry * 129static inline struct dccp_rx_hist_entry *
130 dccp_rx_hist_entry_new(struct dccp_rx_hist *hist, 130 dccp_rx_hist_entry_new(struct dccp_rx_hist *hist,
131 const u32 ndp, 131 const u32 ndp,
132 const struct sk_buff *skb, 132 const struct sk_buff *skb,
133 const int prio) 133 const unsigned int __nocast prio)
134{ 134{
135 struct dccp_rx_hist_entry *entry = kmem_cache_alloc(hist->dccprxh_slab, 135 struct dccp_rx_hist_entry *entry = kmem_cache_alloc(hist->dccprxh_slab,
136 prio); 136 prio);