tun: Eliminate sparse signedness warning
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Mon, 5 Jan 2009 01:14:46 +0000 (17:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jan 2009 01:14:46 +0000 (17:14 -0800)
commit745417e20684e4951afcabfe74583a3884e54980
treec9691a508557edd2a912207bb03b357ae24e957b
parentf26251eb68ea766a98fed922593c154d15127621
tun: Eliminate sparse signedness warning

register_pernet_gen_device() expects 'int*', found via sparse.

 CHECK   drivers/net/tun.c
 drivers/net/tun.c:1245:36: warning: incorrect type in argument 1 (different signedness)
 drivers/net/tun.c:1245:36:    expected int *id
 drivers/net/tun.c:1245:36:    got unsigned int static [toplevel] *<noident>

Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c