* [patch 1/3] bluetooth.h: fix sparse warnings (__nocast type)
@ 2005-07-07 21:30 domen
0 siblings, 0 replies; only message in thread
From: domen @ 2005-07-07 21:30 UTC (permalink / raw)
To: marcel; +Cc: bluez-devel, Victor Fusco, domen
From: Victor Fusco <victor@cetuc.puc-rio.br>
Fix the sparse warning "implicit cast to nocast type"
File/Subsystem: include/net/bluetooth/bluetooth.h
Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
---
bluetooth.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: quilt/include/net/bluetooth/bluetooth.h
===================================================================
--- quilt.orig/include/net/bluetooth/bluetooth.h
+++ quilt/include/net/bluetooth/bluetooth.h
@@ -141,7 +141,8 @@ 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;
--
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-07 21:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-07 21:30 [patch 1/3] bluetooth.h: fix sparse warnings (__nocast type) domen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox