From: Julia Lawall Date: Wed, 6 Jun 2012 21:41:40 +0000 (+0200) Subject: drivers/ata/pata_pcmcia.c: adjust suspicious bit operation X-Git-Tag: v3.6-rc1~102^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b08f5bc40424a3c4b4c884257441141b23cfa795;p=pandora-kernel.git drivers/ata/pata_pcmcia.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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed