• Tejun Heo's avatar
    libata: clear PIO pad area · 21dba244
    Tejun Heo authored
    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: default avatarTejun Heo <tj@kernel.org>
    Cc: Lei Ming <tom.leiming@gmail.com>
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    21dba244
libata-sff.c 84 KB