[LLC]: Fix sparse warnings

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo
2005-09-22 05:14:33 -03:00
parent 0519d8fbab
commit 2928c19e10
7 changed files with 19 additions and 16 deletions
+2 -1
View File
@@ -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);