aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/intel/iwlwifi/fw/api/debug.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-09-13 08:15:17 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-09-20 15:11:36 +0300
commit6c3efbe77bc78bf49db851aec7f385be475afca6 (patch)
treeb354bedf00fab9311b52ea4dfe1e7944ca9aa4a5 /drivers/net/wireless/intel/iwlwifi/fw/api/debug.h
parenta8254fa4ba60b85829b6e5ede6564f81cd70d59f (diff)
brcmsmac: Use kvmalloc() for ucode allocations
The ucode chunk might be relatively large and the allocation with kmalloc() may fail occasionally. Since the data isn't DMA-transferred but by manual loops, we can use vmalloc instead of kmalloc. For a better performance, though, kvmalloc() would be the best choice in such a case, so let's replace with it. Bugzilla: https://bugzilla.suse.com/show_bug.cgi?id=1103431 Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/intel/iwlwifi/fw/api/debug.h')
0 files changed, 0 insertions, 0 deletions