1
linux/drivers/staging/wlan-ng
Julia Lawall 4068fe8b2a Staging: wlan-ng: fix Correct size given to memset
Memset should be given the size of the structure, not the size of the pointer.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
type T;
T *x;
expression E;
@@

memset(x, E, sizeof(
+ *
 x))
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-12-23 11:27:48 -08:00
..
hfa384x_usb.c Staging: wlan-ng: Remove some superflous comments 2009-09-15 12:01:34 -07:00
hfa384x.h
Kconfig Staging: wireless drivers Kconfig change 2009-10-30 14:47:44 -07:00
Makefile
p80211conv.c
p80211conv.h
p80211hdr.h Staging: wlan-ng: Remove more superflous comments 2009-09-15 12:01:35 -07:00
p80211ioctl.h
p80211meta.h Staging: wlan-ng: Remove more superflous comments 2009-09-15 12:01:35 -07:00
p80211metadef.h
p80211metastruct.h
p80211mgmt.h Staging: wlan-ng: Remove more superflous comments 2009-09-15 12:01:35 -07:00
p80211msg.h Staging: wlan-ng: Remove more superflous comments 2009-09-15 12:01:35 -07:00
p80211netdev.c Staging: wlan-ng: Drop the special case handling of older wireless extensions, WIRELESS_EXT is at 22 for the current kernel. 2009-09-15 12:01:34 -07:00
p80211netdev.h Staging: wlan-ng: Remove some superflous comments 2009-09-15 12:01:34 -07:00
p80211req.c
p80211req.h
p80211types.h Staging: wlan-ng: Remove more superflous comments 2009-09-15 12:01:35 -07:00
p80211wep.c Staging: wlan-ng: Remove some superflous comments 2009-09-15 12:01:34 -07:00
p80211wext.c Staging: wlan-ng: Drop the special case handling of older wireless extensions, WIRELESS_EXT is at 22 for the current kernel. 2009-09-15 12:01:34 -07:00
prism2fw.c Staging: wlan-ng: fix Correct size given to memset 2009-12-23 11:27:48 -08:00
prism2mgmt.c Staging: wlan-ng: Remove some superflous comments 2009-09-15 12:01:34 -07:00
prism2mgmt.h
prism2mib.c
prism2sta.c Staging: wlan-ng: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:37 -07:00
prism2usb.c
README

TODO:
	- checkpatch.pl cleanups
	- sparse warnings
	- move to use the in-kernel wireless stack

Please send any patches or complaints about this driver to Greg
Kroah-Hartman <greg@kroah.com> and don't bother the upstream wireless
kernel developers about it, they want nothing to do with it.