projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a792bd5
)
ide: use get_unaligned_* helpers
author
Harvey Harrison
<harvey.harrison@gmail.com>
Tue, 15 Jul 2008 19:21:41 +0000
(21:21 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Tue, 15 Jul 2008 19:21:41 +0000
(21:21 +0200)
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c
patch
|
blob
|
history
diff --git
a/drivers/ide/ide-tape.c
b/drivers/ide/ide-tape.c
index
2d822df
..
1a96cc5
100644
(file)
--- 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)
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);
}