Files
linux/drivers
Julia Lawall b2bbb642ac [S390] cio: 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.  In particular,
the result of !scsw_stctl(&request->irb.scsw) & SCSW_STCTL_STATUS_PEND is
always just !scsw_stctl(&request->irb.scsw).

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

// <smpl>
@@ expression E; constant C; @@
(
  !E & !C
|
- !E & C
+ !(E & C)
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2008-10-10 21:33:54 +02:00
..
2008-07-24 10:47:41 -07:00
2008-10-09 08:57:05 +02:00
2008-08-19 18:47:56 +02:00
2008-07-25 10:53:30 -07:00
2008-08-26 00:19:28 +10:00
2008-09-30 09:57:22 +02:00
2008-10-09 15:33:57 +02:00
2008-10-09 08:56:01 +02:00
2008-10-03 09:18:17 -07:00
2008-07-26 12:00:11 -07:00
2008-10-10 21:33:54 +02:00
2008-08-04 12:51:06 +09:00
2008-08-13 17:33:00 -07:00