android_kernel_sony_msm8994/net/ieee80211
Julia Lawall d92a8e81e0 net/ieee80211: adjust error handling
Converts a test in error handling code to a sequence of labels.

The semantic match that found the problem is:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@
expression E,E1,E2;
@@

E = alloc_etherdev(...)
... when != E = E1
if (...) { ... free_netdev(E); ... return ...; }
... when != E = E2
(
  if (...)
   {
   ... when != free_netdev(E);
   return dev; }
|
* if (...)
   {
   ... when != free_netdev(E);
   return ...; }
|
register_netdev(E)
)

// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-08-22 16:29:49 -04:00
..
ieee80211_crypt_ccmp.c ieee80211: Stop net_ratelimit/IEEE80211_DEBUG_DROP log pollution 2007-11-20 16:43:17 -05:00
ieee80211_crypt_tkip.c ieee80211: fix misannotations 2008-01-28 15:08:48 -08:00
ieee80211_crypt_wep.c [NET]: Removing duplicit #includes 2007-11-07 04:11:44 -08:00
ieee80211_crypt.c [PATCH] Update my email address from jkmaline@cc.hut.fi to j@w1.fi 2007-04-28 11:01:01 -04:00
ieee80211_geo.c [PATCH] ieee80211: add ieee80211_channel_to_freq 2007-05-08 11:51:59 -04:00
ieee80211_module.c net/ieee80211: adjust error handling 2008-08-22 16:29:49 -04:00
ieee80211_rx.c mac80211: use hardware flags for signal/noise units 2008-05-14 16:29:49 -04:00
ieee80211_tx.c remove ieee80211_tx_frame() 2008-05-07 15:02:14 -04:00
ieee80211_wx.c wext: Emit event stream entries correctly when compat. 2008-06-16 18:50:49 -07:00
Kconfig the scheduled ieee80211 softmac removal 2008-03-13 16:02:31 -04:00
Makefile the scheduled ieee80211 softmac removal 2008-03-13 16:02:31 -04:00