diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-11-14 14:06:26 -0500 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-11-14 14:06:26 -0500 |
commit | e1410f2d951d45aee3bdbcc05ecedaaa9db276e5 (patch) | |
tree | 16d7ab46582219e349df6bfd48c6e20a5ba8e8fc /drivers/scsi/mvme16x.h | |
parent | ad36d1a533da91d3448029b4da1113c5b880f25d (diff) | |
download | blackbird-op-linux-e1410f2d951d45aee3bdbcc05ecedaaa9db276e5.tar.gz blackbird-op-linux-e1410f2d951d45aee3bdbcc05ecedaaa9db276e5.zip |
[libata] fix bugs in ATAPI padding DMA mapping code
The ATAPI pad-to-next-32bit-boundary code modifies the scatterlist's
length variable, sometimes to zero. x86-64 platform would oops if a
zero-length scatterlist entry was asked to be mapped. Work around this
by ensuring that we never DMA-map a zero length buffer or SG entry.
Diffstat (limited to 'drivers/scsi/mvme16x.h')
0 files changed, 0 insertions, 0 deletions