diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2011-09-23 00:14:53 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-27 20:34:07 +0200 |
commit | 7f90dce1ea9de432cf1f196c743a8d5a119e38ba (patch) | |
tree | a0168ed953d421deb1f669984c11e1808d1a11b4 /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | iwlagn: update rate scaling with BA notifications (diff) | |
download | linux-7f90dce1ea9de432cf1f196c743a8d5a119e38ba.tar.xz linux-7f90dce1ea9de432cf1f196c743a8d5a119e38ba.zip |
iwlagn: use kcalloc when possible for array allocation
As everybody knows kcalloc checks the multiplication is safe and
that we don't run into overflow.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
0 files changed, 0 insertions, 0 deletions