linux/drivers/staging/wlan-ng
Simon Horman 8125e2f668 Staging: wlan-ng: initialise mibitem
$ gcc --version

gcc (Debian 4.4.2-5) 4.4.2
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ make
...
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_dorequest’:
drivers/staging/wlan-ng/p80211wext.c:139: warning: ‘mibitem.len’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:139: warning: ‘mibitem.status’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_giwretry’:
drivers/staging/wlan-ng/p80211wext.c:967: warning: ‘mibitem.len’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:967: warning: ‘mibitem.status’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:967: warning: ‘mibitem.data’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_siwretry’:
drivers/staging/wlan-ng/p80211wext.c:1057: warning: ‘mibitem.len’ may be used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:1057: warning: ‘mibitem.status’ may be used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_giwtxpow’:
drivers/staging/wlan-ng/p80211wext.c:1149: warning: ‘mibitem.len’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:1149: warning: ‘mibitem.status’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:1149: warning: ‘mibitem.data’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_siwtxpow’:
drivers/staging/wlan-ng/p80211wext.c:1123: warning: ‘mibitem.len’ may be used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:1123: warning: ‘mibitem.status’ may be used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_giwfrag’:
drivers/staging/wlan-ng/p80211wext.c:891: warning: ‘mibitem.len’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:891: warning: ‘mibitem.status’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:891: warning: ‘mibitem.data’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_siwfrag’:
drivers/staging/wlan-ng/p80211wext.c:933: warning: ‘mibitem.len’ may be used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:933: warning: ‘mibitem.status’ may be used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_giwrts’:
drivers/staging/wlan-ng/p80211wext.c:826: warning: ‘mibitem.len’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:826: warning: ‘mibitem.status’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:826: warning: ‘mibitem.data’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_siwrts’:
drivers/staging/wlan-ng/p80211wext.c:866: warning: ‘mibitem.len’ may be used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:866: warning: ‘mibitem.status’ may be used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_giwrate’:
drivers/staging/wlan-ng/p80211wext.c:775: warning: ‘mibitem.len’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:775: warning: ‘mibitem.status’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:775: warning: ‘mibitem.data’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_giwfreq’:
drivers/staging/wlan-ng/p80211wext.c:273: warning: ‘mibitem.len’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:273: warning: ‘mibitem.status’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:273: warning: ‘mibitem.data’ is used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_siwfreq’:
drivers/staging/wlan-ng/p80211wext.c:320: warning: ‘mibitem.len’ may be used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c: In function ‘p80211wext_siwmode’:
drivers/staging/wlan-ng/p80211wext.c:401: warning: ‘mibitem.len’ may be used uninitialized in this function
drivers/staging/wlan-ng/p80211wext.c:401: warning: ‘mibitem.status’ may be used uninitialized in this function
...

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-03 16:42:33 -08:00
..
hfa384x_usb.c staging: Fix misspelling of "invocation" in comment. 2010-03-03 16:42:32 -08:00
hfa384x.h Staging: wlan-ng: Lindent cleanups 2009-06-19 11:00:38 -07:00
Kconfig Staging: prism2-usb: Build should select WIRELESS_EXT 2010-03-03 16:42:33 -08:00
Makefile Staging: wlan-ng: Consolidate wlan-ng into a single module. 2009-01-06 13:51:57 -08:00
p80211conv.c staging: wlan-ng: scripts/checkpatch.pl error fixes. 2009-09-15 12:01:26 -07:00
p80211conv.h Staging: wlan-ng: Lindent cleanups 2009-06-19 11:00:38 -07:00
p80211hdr.h Staging: wlan-ng: Remove more superflous comments 2009-09-15 12:01:35 -07:00
p80211ioctl.h Staging: wlan-ng: p80211ioctl.h: Coding style cleanups 2009-04-03 14:53:21 -07:00
p80211meta.h Staging: wlan-ng: Remove more superflous comments 2009-09-15 12:01:35 -07:00
p80211metadef.h Staging: wlan-ng: Move firmware loading into driver 2009-06-19 11:00:38 -07:00
p80211metastruct.h Staging: wlan-ng: p80211metastruct.h: Coding style cleanups 2009-04-03 14:53:22 -07:00
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 staging: wlan-ng: scripts/checkpatch.pl error fixes. 2009-09-15 12:01:26 -07:00
p80211req.h Staging: wlan-ng: Lindent cleanups 2009-06-19 11:00:38 -07:00
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: initialise mibitem 2010-03-03 16:42:33 -08: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 Staging: wlan-ng: Lindent cleanups 2009-06-19 11:00:38 -07:00
prism2mib.c staging: wlan-ng: scripts/checkpatch.pl error fixes. 2009-09-15 12:01:26 -07:00
prism2sta.c Staging: wlan-ng: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:37 -07:00
prism2usb.c staging: wlan-ng: scripts/checkpatch.pl error fixes. 2009-09-15 12:01:26 -07:00
README Staging: wlan-ng: Update README file. Remove Lindent task 2009-06-19 11:00:39 -07:00

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.