linux/drivers/net/wireless/iwlegacy
Thomas Meyer 2b50b8f588 iwlegacy: 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: John W. Linville <linville@tuxdriver.com>
2011-12-06 16:05:24 -05:00
..
3945-debug.c iwlegacy: checkpatch.pl fixes 2011-11-15 14:51:01 +01:00
3945-mac.c iwlegacy: checkpatch.pl fixes 2011-11-15 14:51:01 +01:00
3945-rs.c iwlegacy: checkpatch.pl fixes 2011-11-15 14:51:01 +01:00
3945.c iwlegacy: debugfs_ops should depend on CONFIG_IWLEGACY_DEBUGFS 2011-11-16 12:55:12 +01:00
3945.h iwlegacy: debugfs_ops should depend on CONFIG_IWLEGACY_DEBUGFS 2011-11-16 12:55:12 +01:00
4965-calib.c iwlegacy: checkpatch.pl fixes 2011-11-15 14:51:01 +01:00
4965-debug.c iwlegacy: checkpatch.pl fixes 2011-11-15 14:51:01 +01:00
4965-mac.c iwlegacy: 4965: remove vif null check in request_scan 2011-11-16 12:51:15 +01:00
4965-rs.c iwlegacy: 4965-rs: cleanup il4965_rs_sta_dbgfs_rate_scale_data_read 2011-11-16 12:54:56 +01:00
4965.c iwlegacy: debugfs_ops should depend on CONFIG_IWLEGACY_DEBUGFS 2011-11-16 12:55:12 +01:00
4965.h iwlegacy: debugfs_ops should depend on CONFIG_IWLEGACY_DEBUGFS 2011-11-16 12:55:12 +01:00
commands.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00
common.c iwlegacy: Use kcalloc instead of kzalloc to allocate array 2011-12-06 16:05:24 -05:00
common.h iwlegacy: debugfs_ops should depend on CONFIG_IWLEGACY_DEBUGFS 2011-11-16 12:55:12 +01:00
csr.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00
debug.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux 2011-11-22 14:05:46 -05:00
iwl-spectrum.h iwlegacy: rename iwl to il 2011-11-15 11:16:58 +01:00
iwl-sta.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux 2011-11-22 14:05:46 -05:00
Kconfig iwlegacy: merge iwl-debug.h into common.h 2011-11-15 14:25:21 +01:00
Makefile iwlegacy: rename iwl-debug.c to debug.c 2011-11-15 14:24:36 +01:00
prph.h iwlegacy: indentions and whitespaces 2011-11-15 14:45:59 +01:00