Files
linux/drivers
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
..
…
2008-03-17 08:30:32 -04:00
2008-03-17 07:56:31 -04:00
2008-03-10 16:33:33 -07:00
2008-03-13 13:11:43 -07:00
2008-02-05 09:44:23 -08:00
…
2008-03-12 14:15:00 +01:00
2008-02-08 09:22:38 -08:00
…
2008-03-04 11:03:09 +02:00
2008-03-15 19:17:12 -07:00
2008-02-13 16:21:19 -08:00
2008-03-03 10:47:13 -08:00
…
2008-02-26 14:12:09 +09:00
…
2008-02-21 15:27:07 -08:00
2008-03-10 16:42:27 -07:00
2008-03-17 22:58:21 +11:00
2008-03-04 16:35:12 -08:00
…