From: Ondrej Zary Date: Thu, 12 Sep 2013 21:01:29 +0000 (+0200) Subject: pata_isapnp: Don't use invalid I/O ports X-Git-Tag: v3.12-rc7~28^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0012ec533def054e1ac57d54ed781fc0ab6b71;p=pandora-kernel.git pata_isapnp: Don't use invalid I/O ports The test for 2nd I/O port validity is broken (reversed): On devices with no control port, the driver attempts to use invalid port 0, resulting in logs full of bad_io_access errors. On devices with control port, the driver does not use it. Signed-off-by: Ondrej Zary Signed-off-by: Tejun Heo --- Reading git-diff-tree failed