diff options
| author | 2005-11-14 14:06:26 -0500 | |
|---|---|---|
| committer | 2005-11-14 14:06:26 -0500 | |
| commit | e1410f2d951d45aee3bdbcc05ecedaaa9db276e5 (patch) | |
| tree | 16d7ab46582219e349df6bfd48c6e20a5ba8e8fc /include/linux/libata.h | |
| parent | [libata ahci] error handling fixes (diff) | |
| download | linux-dev-e1410f2d951d45aee3bdbcc05ecedaaa9db276e5.tar.xz linux-dev-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 'include/linux/libata.h')
0 files changed, 0 insertions, 0 deletions
