projects
/
linux-flexiantxendom0-3.2.10.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Bluetooth]: Fix sparse warnings (__nocast type)
[linux-flexiantxendom0-3.2.10.git]
/
include
/
net
/
bluetooth
/
bluetooth.h
diff --git
a/include/net/bluetooth/bluetooth.h
b/include/net/bluetooth/bluetooth.h
index
06b24f6
..
5309b6f
100644
(file)
--- a/
include/net/bluetooth/bluetooth.h
+++ b/
include/net/bluetooth/bluetooth.h
@@
-135,7
+135,7
@@
struct bt_skb_cb {
};
#define bt_cb(skb) ((struct bt_skb_cb *)(skb->cb))
-static inline struct sk_buff *bt_skb_alloc(unsigned int len, int how)
+static inline struct sk_buff *bt_skb_alloc(unsigned int len, unsigned int __nocast how)
{
struct sk_buff *skb;