kernel-fxtec-pro1x/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.c
ieee80211_crypt_ccmp.c
ieee80211_crypt_tkip.c ieee80211: fix misannotations 2008-01-28 15:08:48 -08:00
ieee80211_crypt_wep.c
ieee80211_geo.c
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