]> git.baikalelectronics.ru Git - kernel.git/commit
[ATM]: fix sparse gfp nocast warnings
authorRandy Dunlap <rdunlap@xenotime.net>
Wed, 5 Oct 2005 05:38:44 +0000 (22:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Oct 2005 05:38:44 +0000 (22:38 -0700)
commit4a475e00192dbd1323e837fac46bfe97720cb710
tree0d4e34cd3ca10a844c8c8f10ac060b2b142c5445
parent823e49b7a230895cf3220ea1bbabe74a8ed32033
[ATM]: fix sparse gfp nocast warnings

Fix implicit nocast warnings in atm code:
net/atm/atm_misc.c:35:44: warning: implicit cast to nocast type
drivers/atm/fore200e.c:183:33: warning: implicit cast to nocast type

Also use kzalloc() instead of kmalloc().

Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/fore200e.c
include/linux/atmdev.h
net/atm/atm_misc.c