Julia Lawall
e58c5de8f5
drivers/ide/ide-cs.c: adjust suspicious bit operation
...
IO_DATA_PATH_WIDTH_8 is 0, so a bit-and with it is always false. The
value IO_DATA_PATH_WIDTH covers the bits of the IO_DATA_PATH constants, so
first pick those bits and then make the test using !=.
This problem was found using Coccinelle (http://coccinelle.lip6.fr/ ).
Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-06-12 15:51:41 -07:00
..
2010-01-19 01:45:29 -08:00
2012-01-13 09:32:20 +10:30
2010-01-19 01:52:31 -08:00
2010-01-19 01:52:32 -08:00
2010-01-19 01:45:29 -08:00
2011-10-24 23:34:24 +01:00
2011-10-31 19:31:37 -04:00
2010-01-19 01:52:32 -08:00
2012-01-13 09:32:20 +10:30
2010-01-19 01:45:29 -08:00
2010-01-19 01:45:29 -08:00
2010-01-19 01:52:33 -08:00
2010-01-19 01:52:33 -08:00
2011-10-13 17:04:50 -04:00
2009-05-17 19:12:25 +02:00
2012-01-13 09:32:20 +10:30
2009-06-15 18:52:58 +02:00
2012-01-13 09:32:20 +10:30
2010-10-26 10:17:29 -07:00
2012-01-13 09:32:20 +10:30
2012-06-06 10:36:47 -07:00
2011-08-04 01:29:51 -07:00
2012-01-13 09:32:20 +10:30
2012-01-13 09:32:20 +10:30
2011-10-31 19:31:37 -04:00
2011-04-21 19:43:59 +02:00
2008-04-29 14:48:55 +02:00
2011-11-08 22:35:46 +01:00
2011-03-09 19:54:27 +01:00
2012-06-12 15:51:41 -07:00
2010-03-30 22:02:32 +09:00
2010-10-05 15:01:10 +02:00
2011-10-31 19:31:37 -04:00
2011-10-03 14:28:18 -04:00
2008-10-21 07:47:30 -04:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2012-01-14 15:07:24 -08:00
2011-10-31 19:31:37 -04:00
2011-11-08 22:35:46 +01:00
2008-10-21 07:47:30 -04:00
2011-04-21 19:43:59 +02:00
2009-03-27 12:46:34 +01:00
2009-05-17 19:12:25 +02:00
2009-05-17 19:12:25 +02:00
2011-10-31 19:31:37 -04:00
2011-04-05 23:52:49 +02:00
2011-10-31 19:31:37 -04:00
2010-01-19 01:41:57 -08:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2011-03-10 08:52:07 +01:00
2012-01-13 09:32:20 +10:30
2008-07-16 20:33:39 +02:00
2010-08-07 18:17:56 +02:00
2011-10-31 19:31:37 -04:00
2010-09-13 21:34:25 -07:00
2010-03-30 22:02:32 +09:00
2011-05-16 14:24:46 -07:00
2009-01-02 16:12:48 +01:00
2011-11-08 22:35:46 +01:00
2012-03-20 21:48:17 +08:00
2010-01-19 11:30:09 -08:00
2011-10-31 19:31:37 -04:00
2010-08-11 23:04:39 +09:30
2010-03-30 22:02:32 +09:00
2010-01-19 01:45:29 -08:00
2010-01-19 01:45:29 -08:00
2010-01-19 01:45:29 -08:00
2011-11-03 13:28:14 -07:00
2011-10-31 19:31:37 -04:00
2012-02-13 18:31:37 +01:00
2009-04-08 14:13:03 +02:00
2010-01-19 01:44:41 -08:00
2011-06-10 14:55:36 +02:00
2010-01-19 01:45:29 -08:00
2010-04-22 19:11:24 -07:00
2011-10-11 15:19:43 -04:00
2011-10-31 19:31:37 -04:00
2011-10-31 19:31:37 -04:00
2012-03-28 18:30:03 +01:00
2009-06-15 22:13:44 +02:00
2010-03-30 22:02:32 +09:00
2008-12-29 20:27:33 +01:00
2010-03-30 22:02:32 +09:00
2010-03-02 23:57:59 -08:00
2010-01-19 01:45:29 -08:00
2011-10-31 19:31:37 -04:00
2010-01-19 01:45:29 -08:00
2010-01-19 01:52:35 -08:00
2011-03-31 11:26:23 -03:00
2010-01-19 01:45:29 -08:00
2010-01-19 01:45:29 -08:00
2011-10-31 19:31:37 -04:00
2011-10-13 17:04:49 -04:00
2009-03-31 20:15:32 +02:00
2010-08-09 03:17:55 -07:00
2011-06-10 14:55:36 +02:00
2012-01-13 09:32:20 +10:30
2011-03-31 11:26:23 -03:00