alistair23-linux/drivers/isdn
Julia Lawall ae91d60ba8 drivers/isdn: correct use of ! and &
In commit e6bafba5b4 ("wmi: (!x & y)
strikes again"), 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: Karsten Keil <kkeil@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-03-04 16:35:16 -08:00
..
act2000 fix ! versus & precedence in various places 2008-02-06 10:40:59 -08:00
capi mount options: fix capifs 2008-02-08 09:22:40 -08:00
divert
gigaset ser_gigaset: convert mutex to completion 2008-02-06 10:41:12 -08:00
hardware drivers/isdn/hardware/eicon/debug.c: fix uninitialized var warning 2008-02-06 10:41:12 -08:00
hisax isdn: fix section mismatch warning for ISACVer 2008-02-09 23:29:28 -08:00
hysdn Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
i4l drivers/isdn: correct use of ! and & 2008-03-04 16:35:16 -08:00
icn fix ! versus & precedence in various places 2008-02-06 10:40:59 -08:00
isdnloop drivers/isdn: correct use of ! and & 2008-03-04 16:35:16 -08:00
pcbit Convert files to UTF-8 and some cleanups 2007-10-19 23:21:04 +02:00
sc [ISDN] sc: Really, really fix warning 2007-11-14 15:59:43 -08:00
Kconfig
Makefile