aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide-tape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 2d822df08658..1a96cc503994 100644
--- a/drivers/ide/ide-tape.c
+++ b/drivers/ide/ide-tape.c
@@ -538,7 +538,7 @@ static void idetape_analyze_error(ide_drive_t *drive, u8 *sense)
538 if (pc->flags & PC_FLAG_DMA_ERROR) { 538 if (pc->flags & PC_FLAG_DMA_ERROR) {
539 pc->xferred = pc->req_xfer - 539 pc->xferred = pc->req_xfer -
540 tape->blk_size * 540 tape->blk_size *
541 be32_to_cpu(get_unaligned((u32 *)&sense[3])); 541 get_unaligned_be32(&sense[3]);
542 idetape_update_buffers(pc); 542 idetape_update_buffers(pc);
543 } 543 }
544 544