X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fbluetooth%2Fl2cap.c;h=d3d6bc547212f7d289928cdf393abce3a167eb08;hb=f35279d3f713e5c97b98cbdbf47d98f79942c11f;hp=32fccfb5bfa5de1b8c701fe0bb107792e2653534;hpb=fc67b16ecaf6ebde04096030c268adddade023f1;p=linux-2.6 diff --git a/net/bluetooth/l2cap.c b/net/bluetooth/l2cap.c index 32fccfb5bf..d3d6bc5472 100644 --- a/net/bluetooth/l2cap.c +++ b/net/bluetooth/l2cap.c @@ -372,7 +372,7 @@ static struct proto l2cap_proto = { .obj_size = sizeof(struct l2cap_pinfo) }; -static struct sock *l2cap_sock_alloc(struct socket *sock, int proto, int prio) +static struct sock *l2cap_sock_alloc(struct socket *sock, int proto, unsigned int __nocast prio) { struct sock *sk;