[Bluetooth]: Fix sparse warnings (__nocast type)
[linux-flexiantxendom0-3.2.10.git] / net / bluetooth / rfcomm / sock.c
index 63a123c..90e19eb 100644 (file)
@@ -284,7 +284,7 @@ static struct proto rfcomm_proto = {
        .obj_size       = sizeof(struct rfcomm_pinfo)
 };
 
-static struct sock *rfcomm_sock_alloc(struct socket *sock, int proto, int prio)
+static struct sock *rfcomm_sock_alloc(struct socket *sock, int proto, unsigned int __nocast prio)
 {
        struct rfcomm_dlc *d;
        struct sock *sk;