android_kernel_xiaomi_sm8350/drivers/net/wireless
Michael Buesch 028118a5f0 b43: Fix possible NULL pointer dereference in DMA code
This fixes a possible NULL pointer dereference in an error path of the
DMA allocation error checking code. This is also necessary for a future
DMA API change that is on its way into the mainline kernel that adds
an additional dev parameter to dma_mapping_error().

This patch moves the whole struct b43_dmaring struct initialization
right before any DMA allocation operation.

Reported-by: Miles Lane <miles.lane@gmail.com>
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-06-13 16:14:48 -04:00
..
ath5k ath5k: Fix loop variable initializations 2008-05-20 17:48:12 -04:00
b43 b43: Fix possible NULL pointer dereference in DMA code 2008-06-13 16:14:48 -04:00
b43legacy b43legacy: Fix controller restart crash 2008-06-04 15:57:09 -04:00
hostap net: Eliminate flush_scheduled_work() calls while RTNL is held. 2008-06-12 02:22:02 -07:00
iwlwifi iwlwifi: fix oops in iwl3945_led_brightness_set 2008-06-09 15:53:38 -04:00
libertas libertas: fix sleep confirmation 2008-06-09 15:50:20 -04:00
p54 USB ID for Philips CPWUA054/00 Wireless USB Adapter 11g 2008-06-04 15:57:11 -04:00
prism54 prism54: fix regression with missing carrier in AP-mode 2008-05-12 21:18:04 -04:00
rt2x00 rt2x00: Restrict DMA to 32-bit addresses. 2008-06-13 16:14:48 -04:00
zd1211rw zd1211rw: Fix data padding for QoS 2008-06-09 15:50:20 -04:00
adm8211.c
adm8211.h
airo_cs.c
airo.c airo warning fix 2008-06-04 15:57:10 -04:00
airo.h
airport.c
arlan-main.c
arlan-proc.c
arlan.h
atmel_cs.c
atmel_pci.c
atmel.c byteorder: don't directly include linux/byteorder/generic.h 2008-05-16 12:01:45 -07:00
atmel.h
hermes_rid.h
hermes.c
hermes.h
i82586.h
i82593.h
ipw2100.c
ipw2100.h
ipw2200.c ipw2200: queue direct scans 2008-06-09 15:50:16 -04:00
ipw2200.h ipw2200: queue direct scans 2008-06-09 15:50:16 -04:00
Kconfig
Makefile
netwave_cs.c
orinoco_cs.c orinoco_cs: add ID for SpeedStream wireless adapters 2008-05-20 17:55:30 -04:00
orinoco_nortel.c
orinoco_pci.c
orinoco_pci.h
orinoco_plx.c
orinoco_tmd.c
orinoco.c
orinoco.h
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: add missing range check for power_output modparam 2008-05-28 16:43:48 -04:00
rtl818x.h
rtl8180_dev.c
rtl8180_grf5101.c rtl8180: fix wrong parameter in grf5101_rf_set_channel 2008-05-28 16:43:40 -04:00
rtl8180_grf5101.h
rtl8180_max2820.c rtl8180: fix wrong parameter in max2820_rf_set_channel 2008-05-28 16:43:39 -04:00
rtl8180_max2820.h
rtl8180_rtl8225.c
rtl8180_rtl8225.h
rtl8180_sa2400.c rtl8180: fix wrong parameter in sa2400_rf_set_channel 2008-05-28 16:43:38 -04:00
rtl8180_sa2400.h
rtl8180.h
rtl8187_dev.c rtl8187: resource leak in error case 2008-05-20 17:55:29 -04:00
rtl8187_rtl8225.c
rtl8187_rtl8225.h
rtl8187.h
spectrum_cs.c
strip.c strip: Fix termios assumption 2008-05-12 07:27:38 -07:00
wavelan_cs.c wavelan: avoid index past end of array if DEBUG_SHOW_UNUSED is defined 2008-05-12 21:18:05 -04:00
wavelan_cs.h
wavelan_cs.p.h
wavelan.c wavelan: avoid index past end of array if DEBUG_SHOW_UNUSED is defined 2008-05-12 21:18:05 -04:00
wavelan.h
wavelan.p.h
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h