[PATCH #upstream] libata: fix off-by-one in error categorization

2008-01-02 Thread Tejun Heo
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

Re: [PATCH #upstream] libata: fix off-by-one in error categorization

2008-01-18 Thread Tejun Heo
Tejun Heo wrote: > 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