aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/mvm/utils.c
diff options
context:
space:
mode:
authorShahar S Matityahu <shahar.s.matityahu@intel.com>2019-08-04 14:06:45 +0300
committerLuca Coelho <luciano.coelho@intel.com>2019-10-25 10:10:19 +0300
commit6abe1e2e39048ce26cbad276841b9b1b2a7e627a (patch)
tree613c61fb13027a07bbbdcc44e99d09a3d64db152 /drivers/net/wireless/intel/iwlwifi/mvm/utils.c
parent3b445ed9b72a8d1614a78aa31245f8c5eb9e595d (diff)
downloadlinux-6abe1e2e39048ce26cbad276841b9b1b2a7e627a.tar.gz
linux-6abe1e2e39048ce26cbad276841b9b1b2a7e627a.tar.bz2
linux-6abe1e2e39048ce26cbad276841b9b1b2a7e627a.zip
iwlwifi: dbg_ini: use vzalloc to allocate dumping memory regions
During dump flow, the driver allocates spaces to store the memory regions that will be included in the dump. These regions can be very large so in order to avoid allocation failure, use vzalloc instead. The kmalloc uses GFP_KERNEL and the driver does not make any use of the fact that the memory is contiguous so the same functionality is maintained. Signed-off-by: Shahar S Matityahu <shahar.s.matityahu@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/mvm/utils.c')
0 files changed, 0 insertions, 0 deletions