2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 13:13:57 +08:00
linux-next/drivers/staging/rtl8712
Vitaly Osipov 735e33fa32 staging: rtl8712: return -ENOMEM instead of -1
After the commit 91d435f replaced _malloc with kmalloc, smatch picked up a
couple of new warnings. This fixes the warning:

warn: returning -1 instead of -ENOMEM is sloppy

Signed-off-by: Vitaly Osipov <vitaly.osipov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-05-27 11:55:29 -07:00
..
basic_types.h
drv_types.h staging: rtl8712: Fix multiple spaces after return type 2014-03-18 12:06:31 -07:00
ethernet.h rtl8712: remove unused definitions from ethernet.h 2013-01-11 16:39:12 -08:00
hal_init.c staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
ieee80211.c staging: r8712u: Remove useless return variables 2014-05-24 02:17:18 +09:00
ieee80211.h rtl8712: code clean up 2013-01-11 16:39:11 -08:00
Kconfig Kconfig: Remove useless "default N" lines 2014-02-20 14:38:06 +01:00
Makefile
mlme_linux.c staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
mlme_osdep.h
mp_custom_oid.h
os_intfs.c Staging: rtl8712: fix an error test in start_drv_threads() 2014-03-06 11:58:32 -08:00
osdep_intf.h
osdep_service.h staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
recv_linux.c
recv_osdep.h
rtl871x_cmd.c staging: rtl8712: fix kmalloc parameters 2014-05-27 11:55:29 -07:00
rtl871x_cmd.h rtl8712: code clean up 2013-01-11 16:39:11 -08:00
rtl871x_debug.h
rtl871x_eeprom.c
rtl871x_eeprom.h
rtl871x_event.h
rtl871x_ht.h
rtl871x_io.c staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
rtl871x_io.h
rtl871x_ioctl_linux.c staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
rtl871x_ioctl_rtl.c Staging: rtl8712: fix spaces before semicolons 2013-10-03 13:50:54 -07:00
rtl871x_ioctl_rtl.h
rtl871x_ioctl_set.c rtl8712: remove useless calls to memset(). 2013-01-11 16:37:11 -08:00
rtl871x_ioctl_set.h
rtl871x_ioctl.h
rtl871x_led.h
rtl871x_mlme.c staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
rtl871x_mlme.h
rtl871x_mp_ioctl.c staging: r8712u: Remove useless return variables 2014-05-24 02:17:18 +09:00
rtl871x_mp_ioctl.h
rtl871x_mp_phy_regdef.h
rtl871x_mp.c staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
rtl871x_mp.h rtl8712: remove all NDIS_* definitions and use rndis.h instead 2013-01-11 16:39:11 -08:00
rtl871x_pwrctrl.c
rtl871x_pwrctrl.h
rtl871x_recv.c staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
rtl871x_recv.h rtl8712: remove unused definitions from rtl871x_recv.h 2013-03-11 09:49:55 -07:00
rtl871x_rf.h
rtl871x_security.c staging: rtl8712: fix unnecessary line continuations 2014-05-24 01:57:15 +09:00
rtl871x_security.h rtl8712: code clean up 2013-01-11 16:39:11 -08:00
rtl871x_sta_mgt.c staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
rtl871x_wlan_sme.h
rtl871x_xmit.c staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
rtl871x_xmit.h
rtl8712_bitdef.h
rtl8712_cmd.c staging: r8712u: Remove useless return variables 2014-05-24 02:17:18 +09:00
rtl8712_cmd.h
rtl8712_cmdctrl_bitdef.h
rtl8712_cmdctrl_regdef.h
rtl8712_debugctrl_bitdef.h
rtl8712_debugctrl_regdef.h
rtl8712_edcasetting_bitdef.h
rtl8712_edcasetting_regdef.h
rtl8712_efuse.c Staging: rtl8712: fix spaces before semicolons 2013-10-03 13:50:54 -07:00
rtl8712_efuse.h
rtl8712_event.h
rtl8712_fifoctrl_bitdef.h
rtl8712_fifoctrl_regdef.h
rtl8712_gp_bitdef.h
rtl8712_gp_regdef.h
rtl8712_hal.h
rtl8712_interrupt_bitdef.h
rtl8712_io.c
rtl8712_led.c rtl8712: remove redundant if statement 2013-03-11 09:49:55 -07:00
rtl8712_macsetting_bitdef.h
rtl8712_macsetting_regdef.h
rtl8712_powersave_bitdef.h
rtl8712_powersave_regdef.h
rtl8712_ratectrl_bitdef.h
rtl8712_ratectrl_regdef.h
rtl8712_recv.c staging: rtl8712: remove _malloc() 2014-05-25 11:04:44 -07:00
rtl8712_recv.h
rtl8712_regdef.h
rtl8712_security_bitdef.h
rtl8712_spec.h
rtl8712_syscfg_bitdef.h
rtl8712_syscfg_regdef.h
rtl8712_timectrl_bitdef.h
rtl8712_timectrl_regdef.h
rtl8712_wmac_bitdef.h
rtl8712_wmac_regdef.h
rtl8712_xmit.c staging: rtl8712: fix a foo * bar errors reported by checkpatch 2012-09-26 09:23:31 -07:00
rtl8712_xmit.h
sta_info.h rtl8712: code clean up 2013-01-11 16:39:11 -08:00
TODO
usb_halinit.c
usb_intf.c staging: rtl8712: usb_intf.c: Fix for possible null pointer dereference 2014-05-24 01:58:22 +09:00
usb_ops_linux.c staging: rtl8712: return -ENOMEM instead of -1 2014-05-27 11:55:29 -07:00
usb_ops.c
usb_ops.h
usb_osintf.h
wifi.h rtl8712: remove unused macros from rtl8712/wifi.h 2013-01-11 16:39:11 -08:00
wlan_bssdef.h
xmit_linux.c Staging: rtl8712: fix spaces before semicolons 2013-10-03 13:50:54 -07:00
xmit_osdep.h