public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 3/3] bpa10x: 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: drivers/bluetooth/bpa10x.c

Signed-off-by: Victor Fusco <victor@cetuc.puc-rio.br>
Signed-off-by: Domen Puncer <domen@coderock.org>
 

---
 bpa10x.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

Index: quilt/drivers/bluetooth/bpa10x.c
===================================================================
--- quilt.orig/drivers/bluetooth/bpa10x.c
+++ quilt/drivers/bluetooth/bpa10x.c
@@ -307,7 +307,9 @@ unlock:
 	read_unlock(&data->lock);
 }
 
-static inline struct urb *bpa10x_alloc_urb(struct usb_device *udev, unsigned int pipe, size_t size, int flags, void *data)
+static inline struct urb *bpa10x_alloc_urb(struct usb_device *udev, unsigned int pipe,
+                                           size_t size, unsigned int __nocast flags,
+                                           void *data)
 {
 	struct urb *urb;
 	struct usb_ctrlrequest *cr;

--

^ 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 3/3] bpa10x: 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