linux_dsm_epyc7002/drivers/net/wireless/brcm80211
Arend van Spriel ae8e46723f brcm80211: smac: eliminate a null pointer dereference in dma.c
Though it's unlikely, di may be null, so we can't dereference
di->dma.dmactrlflags until we've checked it.

Move this de-reference after the check, and adjust the error
message to not require de-referencing di.

This is based upon Julia's original patch:
<1319846297-2985-2-git-send-email-julia@diku.dk>

Reported-by: Julia Lawall <julia@diku.dk>
Acked-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Julian Calaby <julian.calaby@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-11-07 13:19:13 -05:00
..
brcmfmac net: wireless: brcm80210: include module.h 2011-10-14 14:48:20 -04:00
brcmsmac brcm80211: smac: eliminate a null pointer dereference in dma.c 2011-11-07 13:19:13 -05:00
brcmutil net: wireless: brcm80210: include module.h 2011-10-14 14:48:20 -04:00
include brcm80211: moved function brcmu_format_flags 2011-10-14 14:48:19 -04:00
Kconfig net: wireless: add brcm80211 drivers 2011-10-11 15:55:30 -04:00
Makefile net: wireless: add brcm80211 drivers 2011-10-11 15:55:30 -04:00