* [PATCH 05/10] mmc: Use get/put_unaligned_* helpers
@ 2008-04-14 16:37 Harvey Harrison
2008-04-14 16:37 ` Harvey Harrison
0 siblings, 1 reply; 2+ messages in thread
From: Harvey Harrison @ 2008-04-14 16:37 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-arch, LKML
Signed-off-by: Harvey Harrison <harvey.harrison-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
drivers/mmc/host/mmc_spi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
index 365024b..3550858 100644
--- a/drivers/mmc/host/mmc_spi.c
+++ b/drivers/mmc/host/mmc_spi.c
@@ -340,7 +340,7 @@ checkstatus:
/* SPI R3, R4, or R7 == R1 + 4 bytes */
case MMC_RSP_SPI_R3:
- cmd->resp[1] = be32_to_cpu(get_unaligned((u32 *)cp));
+ cmd->resp[1] = get_unaligned_be32(cp);
break;
/* SPI R1 == just one status byte */
--
1.5.5.144.g3e42
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 05/10] mmc: Use get/put_unaligned_* helpers
2008-04-14 16:37 [PATCH 05/10] mmc: Use get/put_unaligned_* helpers Harvey Harrison
@ 2008-04-14 16:37 ` Harvey Harrison
0 siblings, 0 replies; 2+ messages in thread
From: Harvey Harrison @ 2008-04-14 16:37 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-arch, LKML
Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
---
drivers/mmc/host/mmc_spi.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/mmc_spi.c b/drivers/mmc/host/mmc_spi.c
index 365024b..3550858 100644
--- a/drivers/mmc/host/mmc_spi.c
+++ b/drivers/mmc/host/mmc_spi.c
@@ -340,7 +340,7 @@ checkstatus:
/* SPI R3, R4, or R7 == R1 + 4 bytes */
case MMC_RSP_SPI_R3:
- cmd->resp[1] = be32_to_cpu(get_unaligned((u32 *)cp));
+ cmd->resp[1] = get_unaligned_be32(cp);
break;
/* SPI R1 == just one status byte */
--
1.5.5.144.g3e42
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-14 16:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-14 16:37 [PATCH 05/10] mmc: Use get/put_unaligned_* helpers Harvey Harrison
2008-04-14 16:37 ` Harvey Harrison
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox