diff options
Diffstat (limited to 'net/llc/llc_conn.c')
-rw-r--r-- | net/llc/llc_conn.c | 3 |
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) | |||
819 | * Allocates a LLC sock and initializes it. Returns the new LLC sock | 819 | * Allocates a LLC sock and initializes it. Returns the new LLC sock |
820 | * or %NULL if there's no memory available for one | 820 | * or %NULL if there's no memory available for one |
821 | */ | 821 | */ |
822 | struct sock *llc_sk_alloc(int family, int priority, struct proto *prot) | 822 | struct sock *llc_sk_alloc(int family, unsigned int __nocast priority, |
823 | struct proto *prot) | ||
823 | { | 824 | { |
824 | struct sock *sk = sk_alloc(family, priority, prot, 1); | 825 | struct sock *sk = sk_alloc(family, priority, prot, 1); |
825 | 826 | ||