summaryrefslogtreecommitdiffstats
path: root/drivers/ata/libata-pmp.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2009-08-16 14:21:21 +0200
committerJeff Garzik <jgarzik@redhat.com>2009-09-09 03:18:03 +0200
commitac8672ea922bde59acf50eaa1eaa1640a6395fd2 (patch)
tree056d44a2b81151a42f4ac31df1ae9f90483e220f /drivers/ata/libata-pmp.c
parentahci: Gigabyte GA-MA69VM-S2 can't do 64bit DMA (diff)
downloadlinux-ac8672ea922bde59acf50eaa1eaa1640a6395fd2.tar.xz
linux-ac8672ea922bde59acf50eaa1eaa1640a6395fd2.zip
libata: fix off-by-one error in ata_tf_read_block()
ata_tf_read_block() has off-by-one error when converting CHS address to LBA. The bug isn't very visible because ata_tf_read_block() is used only when generating sense data for a failed RW command and CHS addressing isn't used too often these days. This problem was spotted by Atsushi Nemoto. Signed-off-by: Tejun Heo <tj@kernel.org> Reported-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/libata-pmp.c')
0 files changed, 0 insertions, 0 deletions