rtl8192eu-linux-driver/core
Phillip Potter 2a467a7923 convert all rtw_zvmalloc calls to vzalloc calls
Convert all rtw_zvmalloc calls within the driver to use the existing
kernel vzalloc function, which has the same semantics. Also rewrite the
two places where it is mentioned in comments to say vzalloc, and remove
the redundant cast to struct adapter * in ./os_dep/usb_intf.c as vzalloc
returns void *.

The reason for the conversion is that rtw_zvmalloc is just a
preprocessor definition for _rtw_zvmalloc which itself is just an inline
wrapper around vmalloc which then zeroes the memory out. As vzalloc does
the same thing via usage of __GFP_ZERO, this code is redundant and can
subsequently be removed.

Link: https://lore.kernel.org/r/20210818234853.208448-5-phil@philpotter.co.uk
2021-10-11 15:59:59 +02:00
..
efuse convert only rtw_vmalloc call to vmalloc 2021-10-11 15:45:31 +02:00
mesh convert all rtw_zvmalloc calls to vzalloc calls 2021-10-11 15:59:59 +02:00
rtw_ap.c use common ieee80211 constants 2021-10-11 15:03:09 +02:00
rtw_beamforming.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_br_ext.c remove inline markings from functions in rtw_br_ext.c 2021-10-11 15:15:20 +02:00
rtw_bt_mp.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_btcoex_wifionly.c Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_btcoex.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_chplan.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_chplan.h Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_cmd.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_debug.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_eeprom.c Remove wrapper rtw_udelay_os() 2021-10-11 13:00:27 +02:00
rtw_ieee80211.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_io.c Remove wrappers for atomic operations 2021-10-11 10:44:02 +02:00
rtw_ioctl_query.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_ioctl_rtl.c Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_ioctl_set.c replace custom macros with is_broadcast_ether_addr 2021-10-11 13:29:13 +02:00
rtw_iol.c Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_mem.c Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_mi.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_mlme_ext.c convert all rtw_zvmalloc calls to vzalloc calls 2021-10-11 15:59:59 +02:00
rtw_mlme.c convert all rtw_zvmalloc calls to vzalloc calls 2021-10-11 15:59:59 +02:00
rtw_mp_ioctl.c Remove wrapper routine rtw_msleep_os() 2021-10-11 10:44:02 +02:00
rtw_mp.c convert all rtw_zvmalloc calls to vzalloc calls 2021-10-11 15:59:59 +02:00
rtw_odm.c Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_p2p.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_pwrctrl.c Remove wrapper rtw_mdelay_os() 2021-10-11 12:57:06 +02:00
rtw_recv.c convert all rtw_zvmalloc calls to vzalloc calls 2021-10-11 15:59:59 +02:00
rtw_rf.c convert all rtw_zvmalloc calls to vzalloc calls 2021-10-11 15:59:59 +02:00
rtw_rm_fsm.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_rm.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_rson.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_sdio.c Remove wrappers for atomic operations 2021-10-11 10:44:02 +02:00
rtw_security.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_sreset.c Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_sta_mgt.c convert all rtw_zvmalloc calls to vzalloc calls 2021-10-11 15:59:59 +02:00
rtw_tdls.c use common ieee80211 constants 2021-10-11 15:03:09 +02:00
rtw_vht.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_wapi_sms4.c Add version v5.6.4 2019-11-13 22:12:20 +01:00
rtw_wapi.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_wlan_util.c Remove wrapper for memset() 2021-10-11 12:09:34 +02:00
rtw_xmit.c convert all rtw_zvmalloc calls to vzalloc calls 2021-10-11 15:59:59 +02:00