linux/drivers/net/ethernet/sfc
Thomas Meyer c2e4e25afc sfc: Use kcalloc instead of kzalloc to allocate array
The advantage of kcalloc is, that will prevent integer overflows which could
result from the multiplication of number of elements and size and it is also
a bit nicer to read.

The semantic patch that makes this change is available
in https://lkml.org/lkml/2011/11/25/107

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-12-04 01:32:06 -05:00
..
bitfield.h
efx.c net: introduce and use netdev_features_t for device features sets 2011-11-16 17:43:10 -05:00
efx.h
enum.h
ethtool.c
falcon.c
falcon_boards.c
falcon_xmac.c
filter.c
filter.h
io.h
Kconfig
mac.h
Makefile
mcdi.c
mcdi.h
mcdi_mac.c
mcdi_pcol.h
mcdi_phy.c
mdio_10g.c
mdio_10g.h
mtd.c
net_driver.h net: introduce and use netdev_features_t for device features sets 2011-11-16 17:43:10 -05:00
nic.c
nic.h
phy.h
qt202x_phy.c
regs.h
rx.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
selftest.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
selftest.h
siena.c
spi.h
tenxpress.c
tx.c sfc: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
txc43128_phy.c
workarounds.h