1
linux/drivers/net/wireless/rt2x00
Thomas Meyer 839fafbe0d rt2x00: 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>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-12-06 16:02:51 -05:00
..
Kconfig
Makefile
rt2x00.h rt2x00: Fix sleep-while-atomic bug in powersaving code. 2011-11-15 10:02:56 -05:00
rt2x00config.c
rt2x00crypto.c
rt2x00debug.c
rt2x00debug.h
rt2x00dev.c rt2x00: Use kcalloc instead of kzalloc to allocate array 2011-12-06 16:02:51 -05:00
rt2x00dump.h
rt2x00firmware.c
rt2x00leds.c
rt2x00leds.h
rt2x00lib.h
rt2x00link.c
rt2x00mac.c mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
rt2x00pci.c
rt2x00pci.h
rt2x00queue.c
rt2x00queue.h
rt2x00reg.h
rt2x00soc.c
rt2x00soc.h
rt2x00usb.c
rt2x00usb.h
rt61pci.c Revert "rt2x00: handle spurious pci interrupts" 2011-11-22 16:36:35 -05:00
rt61pci.h
rt73usb.c mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
rt73usb.h
rt2400pci.c Revert "rt2x00: handle spurious pci interrupts" 2011-11-22 16:36:35 -05:00
rt2400pci.h
rt2500pci.c Revert "rt2x00: handle spurious pci interrupts" 2011-11-22 16:36:35 -05:00
rt2500pci.h
rt2500usb.c
rt2500usb.h
rt2800.h
rt2800lib.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2011-12-02 15:44:03 -05:00
rt2800lib.h mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
rt2800pci.c Revert "rt2800pci: handle spurious interrupts" 2011-11-22 16:38:19 -05:00
rt2800pci.h
rt2800usb.c rt2x00: Add USB device ID of Buffalo WLI-UC-GNHP. 2011-11-15 10:02:56 -05:00
rt2800usb.h