drivers/net: Convert unbounded kzalloc calls to kcalloc
authorJoe Perches <joe@perches.com>
Wed, 11 Aug 2010 07:02:48 +0000 (07:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Aug 2010 00:45:14 +0000 (17:45 -0700)
commitbaeb2ffab4e67bb9174e6166e070a9a8ec94b0f6
tree08259e966cc0cacc58ed58a4865fe861cc255241
parent5a68d5ee000bb784c4856391b4861739c8bbd341
drivers/net: Convert unbounded kzalloc calls to kcalloc

These changes may be slightly safer in some instances.

There are other kzalloc calls with a multiply, but those
calls are typically "small fixed #" * sizeof(some pointer)"
and those are not converted.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
21 files changed:
drivers/net/cnic.c
drivers/net/ehea/ehea_main.c
drivers/net/mlx4/alloc.c
drivers/net/mlx4/en_rx.c
drivers/net/mlx4/profile.c
drivers/net/myri10ge/myri10ge.c
drivers/net/niu.c
drivers/net/vxge/vxge-main.c
drivers/net/wireless/airo.c
drivers/net/wireless/b43/phy_n.c
drivers/net/wireless/ipw2x00/ipw2100.c
drivers/net/wireless/ipw2x00/ipw2200.c
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt2x00debug.c
drivers/net/wireless/rt2x00/rt2x00queue.c
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt73usb.c
drivers/net/wireless/wl12xx/wl1271_scan.c