Commit 5d0cc8ae authored by Harvey Harrison's avatar Harvey Harrison Committed by Bartlomiej Zolnierkiewicz

ide: use get_unaligned_* helpers

Signed-off-by: default avatarHarvey Harrison <>
Cc: Andrew Morton <>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <>
parent a792bd5a
......@@ -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]));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment