linux/drivers/net/wireless/wl12xx
Julia Lawall 80caf6017a drivers/net/wireless/wl12xx: 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: Kalle Valo <kvalo@adurom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-06-02 16:13:09 -04:00
..
Kconfig wl1271: remove sdio ARM dependency 2010-06-02 16:02:54 -04:00
Makefile
wl12xx_80211.h
wl1251.h
wl1251_acx.c
wl1251_acx.h
wl1251_boot.c
wl1251_boot.h
wl1251_cmd.c
wl1251_cmd.h
wl1251_debugfs.c
wl1251_debugfs.h
wl1251_event.c
wl1251_event.h
wl1251_init.c
wl1251_init.h
wl1251_io.c
wl1251_io.h
wl1251_main.c drivers/net/wireless/wl12xx: Use kmemdup 2010-06-02 16:13:09 -04:00
wl1251_ps.c
wl1251_ps.h
wl1251_reg.h
wl1251_rx.c
wl1251_rx.h
wl1251_sdio.c
wl1251_spi.c
wl1251_spi.h
wl1251_tx.c
wl1251_tx.h
wl1271.h wl1271: Update handling of the NVS file / INI parameters 2010-06-02 16:13:05 -04:00
wl1271_acx.c
wl1271_acx.h
wl1271_boot.c
wl1271_boot.h
wl1271_cmd.c wl1271: Add support for NVS files with 5GHz band parameters 2010-06-02 16:13:05 -04:00
wl1271_cmd.h wl1271: Update handling of the NVS file / INI parameters 2010-06-02 16:13:05 -04:00
wl1271_conf.h
wl1271_debugfs.c
wl1271_debugfs.h
wl1271_event.c
wl1271_event.h
wl1271_ini.h wl1271: Add support for NVS files with 5GHz band parameters 2010-06-02 16:13:05 -04:00
wl1271_init.c
wl1271_init.h
wl1271_io.c
wl1271_io.h
wl1271_main.c wl1271: Add support for NVS files with 5GHz band parameters 2010-06-02 16:13:05 -04:00
wl1271_ps.c
wl1271_ps.h
wl1271_reg.h
wl1271_rx.c wl1271: Fix RX data path frame lengths 2010-05-21 14:40:00 -04:00
wl1271_rx.h
wl1271_sdio.c wl1271: remove sdio ARM dependency 2010-06-02 16:02:54 -04:00
wl1271_spi.c
wl1271_testmode.c wl1271: Add support for NVS files with 5GHz band parameters 2010-06-02 16:13:05 -04:00
wl1271_testmode.h
wl1271_tx.c
wl1271_tx.h