linux/drivers/net/ethernet/xilinx
Thomas Meyer ddf98e6d30 ll_temac: 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
..
Kconfig drivers/net/ethernet/*: Enabled vendor Kconfig options 2011-08-27 00:58:56 -07:00
ll_temac_main.c ll_temac: Use kcalloc instead of kzalloc to allocate array 2011-12-04 01:32:06 -05:00
ll_temac_mdio.c xilinx/ll_temac: Move the Xilinx drivers 2011-08-12 03:41:30 -07:00
ll_temac.h xilinx/ll_temac: Move the Xilinx drivers 2011-08-12 03:41:30 -07:00
Makefile xilinx/ll_temac: Move the Xilinx drivers 2011-08-12 03:41:30 -07:00
xilinx_emaclite.c net/ethernet: convert drivers/net/ethernet/* to use module_platform_driver() 2011-11-29 00:25:05 -05:00