mirror_ubuntu-kernels/drivers/net/wireless/broadcom/brcm80211/brcmfmac
Ahmad Fatoum d745ca4f2c brcmfmac: pcie: fix oops on failure to resume and reprobe
When resuming from suspend, brcmf_pcie_pm_leave_D3 will first attempt a
hot resume and then fall back to removing the PCI device and then
reprobing. If this probe fails, the kernel will oops, because brcmf_err,
which is called to report the failure will dereference the stale bus
pointer. Open code and use the default bus-less brcmf_err to avoid this.

Fixes: 8602e62441 ("brcmfmac: pass bus to the __brcmf_err() in pcie.c")
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210817063521.22450-1-a.fatoum@pengutronix.de
2021-08-29 14:45:29 +03:00
..
bcdc.c net: brcmfmac: Convey execution context via argument to brcmf_netif_rx() 2020-09-29 14:02:55 -07:00
bcdc.h Revert "brcmfmac: fix NULL pointer derefence during USB disconnect" 2019-07-24 14:51:21 +03:00
bcmsdh.c brcmfmac: add 43752 SDIO ids and initialization 2021-08-21 19:59:28 +03:00
btcoex.c brcmfmac: btcoex: Update 'brcmf_btcoex_state' and demote others 2020-09-01 12:22:37 +03:00
btcoex.h
bus.h brcmfmac: properly check for bus register errors 2021-05-13 18:58:42 +02:00
cfg80211.c brcmfmac: Add WPA3 Personal with FT to supported cipher suites 2021-08-29 11:33:07 +03:00
cfg80211.h brcmfmac: add support for CQM RSSI notifications 2021-02-09 09:57:02 +02:00
chip.c brcmfmac: add 43752 SDIO ids and initialization 2021-08-21 19:59:28 +03:00
chip.h brcmfmac: support chipsets with different core enumeration space 2021-08-21 18:49:05 +03:00
common.c brcmfmac: fix invalid permanent MAC address in wiphy 2020-07-14 12:43:43 +03:00
common.h brcmfmac: map 802.1d priority to precedence level based on AP WMM params 2020-05-12 11:50:40 +03:00
commonring.c brcm80211: remove redundant pointer 'address' 2020-04-14 18:04:55 +03:00
commonring.h
core.c brcmfmac: Silence error messages about unsupported firmware features 2021-06-23 20:44:25 +03:00
core.h cfg80211: avoid holding the RTNL when calling the driver 2021-01-26 11:55:50 +01:00
debug.c brcmfmac: no need to check return value of debugfs_create functions 2020-05-04 12:50:13 +03:00
debug.h brcmfmac: Silence error messages about unsupported firmware features 2021-06-23 20:44:25 +03:00
dmi.c brcmfmac: Add DMI nvram filename quirk for Voyo winpad A15 tablet 2021-02-08 13:02:41 +02:00
feature.c brcmfmac: support 4-way handshake offloading for WPA/WPA2-PSK in AP mode 2020-09-16 08:56:04 +03:00
feature.h brcmfmac: support 4-way handshake offloading for WPA/WPA2-PSK in AP mode 2020-09-16 08:56:04 +03:00
firmware.c brcmfmac: firmware: Fix firmware loading 2021-08-21 18:45:30 +03:00
firmware.h brcmfmac: Add clm_blob firmware files to modinfo 2021-06-15 13:38:17 +03:00
flowring.c brcmfmac: fix 802.1d priority to ac mapping for pcie dongles 2020-05-12 11:50:42 +03:00
flowring.h
fweh.c brcmfmac: fweh: Add missing description for 'gfp' 2020-11-07 18:04:07 +02:00
fweh.h net: brcmfmac: Convey allocation mode as argument 2020-09-29 14:02:55 -07:00
fwil_types.h brcmfmac: add support for CQM RSSI notifications 2021-02-09 09:57:02 +02:00
fwil.c brcmfmac: add xtlv support to firmware interface layer 2021-08-21 18:49:04 +03:00
fwil.h brcmfmac: add xtlv support to firmware interface layer 2021-08-21 18:49:04 +03:00
fwsignal.c brcmfmac: remove redundant assignment to pointer 'entry' 2020-12-07 18:36:11 +02:00
fwsignal.h net: brcmfmac: Convey execution context via argument to brcmf_netif_rx() 2020-09-29 14:02:55 -07:00
Kconfig
Makefile brcmfmac: add xtlv support to firmware interface layer 2021-08-21 18:49:04 +03:00
msgbuf.c net: brcmfmac: Convey allocation mode as argument 2020-09-29 14:02:55 -07:00
msgbuf.h
of.c brcmfmac: support parse country code map from DT 2021-06-24 19:20:31 +03:00
of.h
p2p.c brcmfmac: Demote non-compliant kernel-doc headers 2021-06-15 13:37:12 +03:00
p2p.h brcmfmac: support the second p2p connection 2020-05-06 11:39:17 +03:00
pcie.c brcmfmac: pcie: fix oops on failure to resume and reprobe 2021-08-29 14:45:29 +03:00
pcie.h brcmfmac: properly check for bus register errors 2021-05-13 18:58:42 +02:00
pno.c brcmfmac: don't WARN when there are no requests 2019-10-01 12:14:20 +03:00
pno.h
proto.c Revert "brcmfmac: fix NULL pointer derefence during USB disconnect" 2019-07-24 14:51:21 +03:00
proto.h net: brcmfmac: Convey execution context via argument to brcmf_netif_rx() 2020-09-29 14:02:55 -07:00
sdio.c brcmfmac: add 43752 SDIO ids and initialization 2021-08-21 19:59:28 +03:00
sdio.h net: brcmfmac: Replace in_interrupt() 2020-09-29 14:02:55 -07:00
tracepoint.c
tracepoint.h
usb.c brcmfmac: properly check for bus register errors 2021-05-13 18:58:42 +02:00
usb.h brcmfmac: A typo fix 2021-04-18 09:28:21 +03:00
vendor.c
vendor.h
xtlv.c brcmfmac: add xtlv support to firmware interface layer 2021-08-21 18:49:04 +03:00
xtlv.h brcmfmac: add xtlv support to firmware interface layer 2021-08-21 18:49:04 +03:00