From: Tejun Heo Date: Wed, 2 Jan 2008 16:21:14 +0000 (+0900) Subject: libata: fix off-by-one in error categorization X-Git-Tag: v2.6.25-rc1~1233^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75f9cafc2d24a1cf44d7c3f3e5b4f7a393afcf71;p=pandora-kernel.git libata: fix off-by-one in error categorization ATA_ECAT_DUBIOUS_BASE was too high by one and thus all DUBIOUS error categorizations were wrong. This passed test because only ATA_BUS and UNK_DEV were used during testing and the ones after them - ATA_BUS and an overflowed entry - behaved similarly. This patch fixes the problem by adding DUBIOUS_NONE category and use it as base. Signed-off-by: Tejun Heo Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed