diff options
author | Victor Fusco <victor@cetuc.puc-rio.br> | 2005-08-09 23:29:11 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2005-08-29 18:55:07 -0400 |
commit | 2eb25a6c34504254760e67172f7518d6bfdd7676 (patch) | |
tree | fc2f39fedac03f773b7bbb3489774df57edc721c /include/net/bluetooth/bluetooth.h | |
parent | 3a5e903c09aed19ca4a1bb26d87b8d6461a93818 (diff) |
[Bluetooth]: Fix sparse warnings (__nocast type)
This patch fixes the sparse warnings "implicit cast to nocast type"
for the priority or gfp_mask parameters of the memory allocations.
Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/bluetooth/bluetooth.h')
-rw-r--r-- | include/net/bluetooth/bluetooth.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/bluetooth.h b/include/net/bluetooth/bluetooth.h index 06b24f637026..5309b6fa6690 100644 --- a/include/net/bluetooth/bluetooth.h +++ b/include/net/bluetooth/bluetooth.h | |||
@@ -135,7 +135,7 @@ struct bt_skb_cb { | |||
135 | }; | 135 | }; |
136 | #define bt_cb(skb) ((struct bt_skb_cb *)(skb->cb)) | 136 | #define bt_cb(skb) ((struct bt_skb_cb *)(skb->cb)) |
137 | 137 | ||
138 | static inline struct sk_buff *bt_skb_alloc(unsigned int len, int how) | 138 | static inline struct sk_buff *bt_skb_alloc(unsigned int len, unsigned int __nocast how) |
139 | { | 139 | { |
140 | struct sk_buff *skb; | 140 | struct sk_buff *skb; |
141 | 141 | ||