summaryrefslogtreecommitdiff
path: root/net/llc/llc_conn.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-09-22 12:14:33 +0400
committerArnaldo Carvalho de Melo <acme@mandriva.com>2005-09-22 12:14:33 +0400
commit2928c19e1086e2f1e90d05931437ab6f1e4cfdc8 (patch)
tree47bd56109e8d6b0792735c01108a4df685539459 /net/llc/llc_conn.c
parent0519d8fbabc4eb215a8263f29143ccd86c328157 (diff)
downloadlinux-2928c19e1086e2f1e90d05931437ab6f1e4cfdc8.tar.xz
[LLC]: Fix sparse warnings
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'net/llc/llc_conn.c')
-rw-r--r--net/llc/llc_conn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/llc/llc_conn.c b/net/llc/llc_conn.c
index ab9e6d7e2875..76f94e0d840d 100644
--- a/net/llc/llc_conn.c
+++ b/net/llc/llc_conn.c
@@ -819,7 +819,8 @@ static void llc_sk_init(struct sock* sk)
* Allocates a LLC sock and initializes it. Returns the new LLC sock
* or %NULL if there's no memory available for one
*/
-struct sock *llc_sk_alloc(int family, int priority, struct proto *prot)
+struct sock *llc_sk_alloc(int family, unsigned int __nocast priority,
+ struct proto *prot)
{
struct sock *sk = sk_alloc(family, priority, prot, 1);