Skip to content

Commit

Permalink
ide: use get_unaligned_* helpers
Browse files Browse the repository at this point in the history
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
  • Loading branch information
Harvey Harrison authored and Bartlomiej Zolnierkiewicz committed Jul 15, 2008
1 parent a792bd5 commit 5d0cc8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/ide/ide-tape.c
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ static void idetape_analyze_error(ide_drive_t *drive, u8 *sense)
if (pc->flags & PC_FLAG_DMA_ERROR) {
pc->xferred = pc->req_xfer -
tape->blk_size *
be32_to_cpu(get_unaligned((u32 *)&sense[3]));
get_unaligned_be32(&sense[3]);
idetape_update_buffers(pc);
}

Expand Down

0 comments on commit 5d0cc8a

Please sign in to comment.