1
linux/drivers/net/wireless/iwlwifi
Julia Lawall ebd9302842 drivers/net/wireless/iwlwifi/iwl-4965.c: correct use of ! and &
In commit e6bafba5b4, a bug was fixed that
involved converting !x & y to !(x & y).  The code below shows the same
pattern, and thus should perhaps be fixed in the same way.

This is not tested and clearly changes the semantics, so it is only
something to consider.

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

// <smpl>
@@ expression E1,E2; @@
(
  !E1 & !E2
|
- !E1 & E2
+ !(E1 & E2)
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Cc: Tomas Winkler <tomas.winkler@intel.com>
Cc: Guy Cohen <guy.cohen@intel.com>
Cc: Reinette Chatre <reinette.chatre@intel.com>
Cc: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-03-27 14:51:39 -04:00
..
iwl3945-base.c iwlwifi: fix __devexit_p points to __devexit functions 2008-03-24 19:25:08 -04:00
iwl4965-base.c iwlwifi: fix __devexit_p points to __devexit functions 2008-03-24 19:25:08 -04:00
iwl-3945-commands.h iwlwifi: style fixes to usage of << and >> operators 2008-01-28 15:10:03 -08:00
iwl-3945-debug.h iwlwifi: style fixes to usage of << and >> operators 2008-01-28 15:10:03 -08:00
iwl-3945-hw.h iwlwifi: do not schedule tasklet when rcv unused irq 2008-01-31 19:26:43 -08:00
iwl-3945-io.h iwlwifi: cleanup namespace 2008-01-28 15:04:35 -08:00
iwl-3945-rs.c iwlwifi: 3954 renames iwl3945_rate_scale_priv to iwl3945_rs_sta 2008-01-28 15:10:00 -08:00
iwl-3945-rs.h iwlwifi: style fixes to usage of << and >> operators 2008-01-28 15:10:03 -08:00
iwl-3945.c iwlwifi: fix sparse warning in iwl 3945 2008-02-01 16:13:05 -05:00
iwl-3945.h iwlwifi: Fix uCode error on association 2008-01-31 19:26:44 -08:00
iwl-4965-commands.h iwlwifi: style fixes to usage of << and >> operators 2008-01-28 15:10:03 -08:00
iwl-4965-debug.h iwlwifi: style fixes to usage of << and >> operators 2008-01-28 15:10:03 -08:00
iwl-4965-hw.h iwlwifi: do not schedule tasklet when rcv unused irq 2008-01-31 19:26:43 -08:00
iwl-4965-io.h iwlwifi: cleanup namespace 2008-01-28 15:04:35 -08:00
iwl-4965-rs.c iwlwifi: 4965 unify rate scale variable names for station data 2008-01-28 15:09:59 -08:00
iwl-4965-rs.h iwlwifi: style fixes to usage of << and >> operators 2008-01-28 15:10:03 -08:00
iwl-4965.c drivers/net/wireless/iwlwifi/iwl-4965.c: correct use of ! and & 2008-03-27 14:51:39 -04:00
iwl-4965.h iwlwifi: cleanup usage of inline functions 2008-01-31 19:26:42 -08:00
iwl-helpers.h iwlwifi: remove ieee80211 types from iwl-helpers.h 2008-02-01 16:13:43 -05:00
iwl-prph.h iwlwifi: document 4965 Tx scheduler 2008-01-28 15:05:31 -08:00
iwl-spectrum.h
Kconfig iwlwifi: fix a typo in Kconfig message 2008-03-24 19:25:07 -04:00
Makefile