diff options
author | Albert Lee <albertcc@tw.ibm.com> | 2007-12-05 16:43:02 +0900 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-23 05:24:13 -0500 |
commit | 0106372db6dc135f300035ce8e93cddd7283a26a (patch) | |
tree | 951eb0c3567cad2bccf7dc3804bbdee0c462f291 /lib/idr.c | |
parent | 93f8fecbe72bc3c121f3605dd198ff39ef358522 (diff) |
libata: zero xfer length on ATAPI data xfer IRQ is HSM violation
Treat zero xfer length as HSM violation. While at it, add
unlikely()'s to ATAPI ireason and transfer length checks.
tj: Formatted patch and added unlikely()'s.
Signed-off-by: Albert Lee <albertcc@tw.ibm.com>
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'lib/idr.c')
0 files changed, 0 insertions, 0 deletions