mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-12-17 08:17:45 +00:00
The brcms_ucode_init_buf() duplicates the ucode chunks via kmemdup() with GFP_ATOMIC as a precondition of wl->lock acquired. This caused allocation failures sometimes as reported in the bugzilla below. When looking at the the real usage, one can find that it's called solely from brcms_request_fw(), and it's obviously outside the lock. Hence we can use GFP_KERNEL there safely for avoiding such allocation errors. Bugzilla: http://bugzilla.suse.com/show_bug.cgi?id=1085174 Signed-off-by: Takashi Iwai <tiwai@suse.de> Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> |
||
|---|---|---|
| .. | ||
| phy | ||
| aiutils.c | ||
| aiutils.h | ||
| ampdu.c | ||
| ampdu.h | ||
| antsel.c | ||
| antsel.h | ||
| brcms_trace_brcmsmac_msg.h | ||
| brcms_trace_brcmsmac_tx.h | ||
| brcms_trace_brcmsmac.h | ||
| brcms_trace_events.c | ||
| brcms_trace_events.h | ||
| channel.c | ||
| channel.h | ||
| d11.h | ||
| debug.c | ||
| debug.h | ||
| dma.c | ||
| dma.h | ||
| led.c | ||
| led.h | ||
| mac80211_if.c | ||
| mac80211_if.h | ||
| main.c | ||
| main.h | ||
| Makefile | ||
| phy_shim.c | ||
| phy_shim.h | ||
| pmu.c | ||
| pmu.h | ||
| pub.h | ||
| rate.c | ||
| rate.h | ||
| scb.h | ||
| stf.c | ||
| stf.h | ||
| types.h | ||
| ucode_loader.c | ||
| ucode_loader.h | ||