diff options
author | Tejun Heo <htejun@gmail.com> | 2008-01-02 16:21:14 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 10:24:17 (GMT) |
commit | 75f9cafc2d24a1cf44d7c3f3e5b4f7a393afcf71 (patch) | |
tree | a98170f1fae07fbb169f21b5391cc2edadbb697d /drivers/ide/arm | |
parent | b710a1f4b34438b624e9c6c2dc8bcf54b0b0ba27 (diff) | |
download | linux-fsl-qoriq-75f9cafc2d24a1cf44d7c3f3e5b4f7a393afcf71.tar.xz |
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 <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/ide/arm')
0 files changed, 0 insertions, 0 deletions