linux/drivers/net/wireless
Julia Lawall d3e5033d5f drivers/net/wireless/ipw2x00: Use kmemdup
Use kmemdup when some other buffer is immediately copied into the
allocated region.

A simplified version of the semantic patch that makes this change is as
follows: (http://coccinelle.lip6.fr/)

// <smpl>
@@
expression from,to,size,flag;
statement S;
@@

-  to = \(kmalloc\|kzalloc\)(size,flag);
+  to = kmemdup(from,size,flag);
   if (to==NULL || ...) S
-  memcpy(to, from, size);
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-06-02 16:13:12 -04:00
..
ath drivers/net/wireless/ath/ath9k: Use kmemdup 2010-06-02 16:13:11 -04:00
b43 drivers/net/wireless/b43: Use kmemdup 2010-06-02 16:13:11 -04:00
b43legacy Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-05 16:14:16 -04:00
hostap Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
ipw2x00 drivers/net/wireless/ipw2x00: Use kmemdup 2010-06-02 16:13:12 -04:00
iwlwifi Merge branch 'wireless-next-2.6' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6 2010-06-02 15:36:51 -04:00
iwmc3200wifi drivers/net/wireless/iwmc3200wifi: Use kmemdup 2010-06-02 16:13:10 -04:00
libertas drivers/net/wireless/libertas: Use kmemdup 2010-06-02 16:13:08 -04:00
libertas_tf drivers/net/wireless/libertas_tf: Use kmemdup 2010-06-02 16:13:10 -04:00
orinoco drivers/net/wireless/orinoco: Use kzalloc 2010-06-02 16:13:01 -04:00
p54 drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
prism54 drivers/net: remove useless semicolons 2010-05-17 22:47:34 -07:00
rt2x00 rt2x00: Move rt2x00debug_dump_frame declaration to rt2x00.h. 2010-06-02 16:12:52 -04:00
rtl818x Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-11 14:24:55 -04:00
wl12xx drivers/net/wireless/wl12xx: Use kmemdup 2010-06-02 16:13:09 -04:00
zd1211rw Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2010-05-20 21:26:12 -07:00
adm8211.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2010-04-11 14:53:53 -07:00
adm8211.h
airo_cs.c pcmcia: dev_node removal (drivers with updated printk call) 2010-05-10 10:23:15 +02:00
airo.c
airo.h
at76c50x-usb.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
at76c50x-usb.h
atmel_cs.c pcmcia: dev_node removal (write-only drivers) 2010-05-10 10:23:14 +02:00
atmel_pci.c
atmel.c net: trans_start cleanups 2010-05-10 05:01:31 -07:00
atmel.h
Kconfig wireless: depends on NET 2010-05-10 14:56:49 -04:00
mac80211_hwsim.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2010-05-11 14:24:55 -04:00
Makefile
mwl8k.c mwl8k: use the dma state API instead of the pci equivalents 2010-06-02 16:02:53 -04:00
ray_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
ray_cs.h pcmcia: dev_node removal (drivers with unregister_netdev check) 2010-05-10 10:23:16 +02:00
rayctl.h
rndis_wlan.c rndis_wlan: replace wireless_send_event with cfg80211_disconnected 2010-05-21 14:40:01 -04:00
wl3501_cs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6 2010-05-20 21:04:44 -07:00
wl3501.h pcmcia: dev_node removal (drivers with unregister_netdev check) 2010-05-10 10:23:16 +02:00
zd1201.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
zd1201.h