[ATM]: fix sparse gfp nocast warnings
commit7b5b3f3d826ea87c224c66de9c95c09e7f110ecd
authorRandy Dunlap <rdunlap@xenotime.net>
Wed, 5 Oct 2005 05:38:44 +0000 (4 22:38 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Oct 2005 05:38:44 +0000 (4 22:38 -0700)
tree0d4e34cd3ca10a844c8c8f10ac060b2b142c5445
parenta5181ab06ddca8071b4eb54ac2c314f7d24825d4
[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