* [PATCH 2/8] ide: use get_unaligned_* helpers
@ 2008-05-02 3:52 Harvey Harrison
2008-05-03 11:34 ` Bartlomiej Zolnierkiewicz
0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-05-02 3:52 UTC (permalink / raw)
To: Andrew Morton; +Cc: Bartlomiej Zolnierkiewicz, LKML, linux-ide
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
drivers/ide/ide-tape.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c
index 1e1f263..d285da5 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)
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);
}
--
1.5.5.1.350.gbbbf
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/8] ide: use get_unaligned_* helpers
2008-05-02 3:52 [PATCH 2/8] ide: use get_unaligned_* helpers Harvey Harrison
@ 2008-05-03 11:34 ` Bartlomiej Zolnierkiewicz
0 siblings, 0 replies; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2008-05-03 11:34 UTC (permalink / raw)
To: Harvey Harrison; +Cc: Andrew Morton, LKML, linux-ide
On Friday 02 May 2008, Harvey Harrison wrote:
> Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
applied
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-03 13:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-02 3:52 [PATCH 2/8] ide: use get_unaligned_* helpers Harvey Harrison
2008-05-03 11:34 ` Bartlomiej Zolnierkiewicz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).