diff options
| author | Robert Hancock <[email protected]> | 2009-12-09 02:48:10 +0000 |
|---|---|---|
| committer | Jeff Garzik <[email protected]> | 2009-12-17 06:08:29 +0000 |
| commit | 9a8fd68b15e7b047678a651b7f7e2f3dcd19d20d (patch) | |
| tree | 2fcd55dc63893d0c2a0a2f27878b2528596c4d43 /lib/string.c | |
| parent | sata_mv: add power management support for the PCI controllers. (diff) | |
| download | kernel-9a8fd68b15e7b047678a651b7f7e2f3dcd19d20d.tar.gz kernel-9a8fd68b15e7b047678a651b7f7e2f3dcd19d20d.zip | |
libata: fix reporting of drained bytes when clearing DRQ
When we drain data from a device to clear DRQ during error recovery,
the number of bytes reported as drained is too low by a factor of 2
because the count is actually reporting the number of words drained,
not bytes. Fix this.
Signed-off-by: Robert Hancock <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions
