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
..
2011-10-13 17:04:50 -04:00
2009-05-17 19:12:25 +02:00
2010-10-26 10:17:29 -07:00
2011-08-04 01:29:51 -07:00
2011-03-09 19:54:27 +01:00
2011-10-03 14:28:18 -04: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-03-10 08:52:07 +01:00
2010-01-19 11:30:09 -08:00
2009-04-08 14:13:03 +02:00
2011-10-11 15:19:43 -04:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00