linux/drivers/net/wireless
Julia Lawall 43baa5bb26 drivers/net/wireless/libertas: move a dereference below a NULL test
In each case, if the NULL test is necessary, then the dereference should be
moved below the NULL test.  I have also taken advantage of the availability
of the value of priv->dev in the subsequent calls to netif_stop_queue and
netif_carrier_off.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
type T;
expression E;
identifier i,fld;
statement S;
@@

- T i = E->fld;
+ T i;
  ... when != E
      when != i
  if (E == NULL) S
+ i = E->fld;
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-01-11 00:06:35 -08:00
..
ath5k fix similar typos to successfull 2009-01-08 08:31:15 -08:00
ath9k drivers/net/wireless/ath9k: fix sparse warnings: make symbols static 2008-12-26 00:13:29 -08:00
b43 drivers/net/wireless/b43: fix sparse warnings: make symbols static 2008-12-26 00:13:46 -08:00
b43legacy b43legacy: Fix sparse warnings 2008-12-12 14:02:08 -05:00
hostap hostap: select required crypto bits in Kconfig 2008-12-05 09:32:10 -05:00
ipw2x00 trivial: Fix misspelling of "firmware" in ipw2100.c 2009-01-06 11:28:08 +01:00
iwlwifi iwlwifi: iwl-tx.c cleanup (remove unused parameter and unused local variable). 2008-12-19 15:23:54 -05:00
libertas drivers/net/wireless/libertas: move a dereference below a NULL test 2009-01-11 00:06:35 -08:00
libertas_tf
orinoco spectrum_cs: Fix function names used in debug strings 2008-12-12 14:02:02 -05:00
p54 p54usb: bring first generation devices back to life 2008-12-19 15:23:47 -05:00
prism54 drivers/net/wireless/prism54: fix sparse warnings: make symbols static 2008-12-26 00:15:03 -08:00
rt2x00 trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
rtl818x rtl8187: Fix crash on unload when using SLUB debug 2008-12-19 15:23:20 -05:00
zd1211rw fix similar typos to successfull 2009-01-08 08:31:15 -08:00
Kconfig orinoco: Provide option to avoid unnecessary fw caching 2008-11-26 09:47:47 -05:00
Makefile ipw2x00: relocate ipw2100/ipw2200 to common directory 2008-11-21 11:08:17 -05:00
adm8211.c
adm8211.h
airo.c drivers/net/wireless: fix sparse warnings: make symbols static 2008-12-26 00:12:59 -08:00
airo.h
airo_cs.c
arlan-main.c
arlan-proc.c
arlan.h
atmel.c trivial: Fix misspelling of "firmware" in atmel.c 2009-01-06 11:28:08 +01:00
atmel.h
atmel_cs.c
atmel_pci.c
i82586.h
i82593.h
mac80211_hwsim.c mac80211: Fix HT channel selection 2008-12-19 15:22:54 -05:00
netwave_cs.c
ray_cs.c drivers/net/wireless: fix sparse warnings: make symbols static 2008-12-26 00:12:59 -08:00
ray_cs.h
rayctl.h
rndis_wlan.c
strip.c trivial: fix then -> than typos in comments and documentation 2009-01-06 11:28:06 +01:00
wavelan.c
wavelan.h
wavelan.p.h
wavelan_cs.c
wavelan_cs.h
wavelan_cs.p.h
wl3501.h
wl3501_cs.c
zd1201.c netdevice zd1201: Use after free 2008-12-18 22:27:38 -08:00
zd1201.h