diff options
author | Tejun Heo <tj@kernel.org> | 2011-09-06 06:09:05 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2011-10-08 05:46:25 +0200 |
commit | 21dba24481f70696308bd4361a7b2460c8a41965 (patch) | |
tree | 6048c5cc4abbe94282474587d6f0c418cb36951f /drivers/memstick | |
parent | sata_mv: use {platform|pci}_get_drvdata() (diff) | |
download | linux-21dba24481f70696308bd4361a7b2460c8a41965.tar.xz linux-21dba24481f70696308bd4361a7b2460c8a41965.zip |
libata: clear PIO pad area
ata_sff_data_xfer[32]() use pad area if the transfer size isn't
multiple of transfer size; however, this area wasn't cleared and
garbage data in pad area could be transferred to the device. Make
sure the pad area is cleared.
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Lei Ming <tom.leiming@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/memstick')
0 files changed, 0 insertions, 0 deletions