2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 05:04:00 +08:00
linux-next/drivers/net/wireless/iwmc3200wifi
Axel Lin 35b3ac470b iwmc3200wifi: Return proper error for iwm_if_alloc
In the case of alloc_netdev_mq failure and kmalloc failure,
current implementation returns ERR_PTR(0).

As a result, the caller of iwm_if_alloc does not catch the error by IS_ERR
macro. Fix it by setting proper error code for ret variable in the failure
cases.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-01-13 15:46:44 -05:00
..
bus.h
cfg80211.c cfg80211/nl80211: separate unicast/multicast default TX keys 2010-12-13 15:23:28 -05:00
cfg80211.h
commands.c iwmc3200wifi: clarify potentially undefined operation in iwm_scan_ssids 2010-11-18 14:22:21 -05:00
commands.h
debug.h
debugfs.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
eeprom.c
eeprom.h
fw.c
fw.h
hal.c
hal.h
iwm.h
Kconfig
lmac.h
main.c
Makefile
netdev.c iwmc3200wifi: Return proper error for iwm_if_alloc 2011-01-13 15:46:44 -05:00
rx.c iwm3200wifi: remove comparison to WIFI_IF_NTFY_MAX in iwm_ntf_wifi_if_wrapper 2010-08-16 14:39:48 -04:00
rx.h
sdio.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
sdio.h
trace.c
trace.h
tx.c
umac.h