public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/memstick/host/tifm_ms.c breakage
@ 2008-02-13  3:56 Al Viro
  2008-02-13  4:11 ` Al Viro
  2008-02-13  5:12 ` Alex Dubov
  0 siblings, 2 replies; 3+ messages in thread
From: Al Viro @ 2008-02-13  3:56 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, Alex Dubov

readl(sock + ...) that should've been readl(sock->addr + ...)

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---
diff --git a/drivers/memstick/host/tifm_ms.c b/drivers/memstick/host/tifm_ms.c
index f55b71a..4fb2421 100644
--- a/drivers/memstick/host/tifm_ms.c
+++ b/drivers/memstick/host/tifm_ms.c
@@ -282,7 +282,7 @@ static int tifm_ms_issue_cmd(struct tifm_ms *host)
 
 			writel(TIFM_MS_SYS_LATCH
 			       | readl(sock->addr + SOCK_MS_SYSTEM),
-			       sock + SOCK_MS_SYSTEM);
+			       sock->addr + SOCK_MS_SYSTEM);
 			writel(0, sock->addr + SOCK_MS_DATA);
 			dev_dbg(&sock->dev, "writing %x\n", 0);
 

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-13  5:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13  3:56 [PATCH] drivers/memstick/host/tifm_ms.c breakage Al Viro
2008-02-13  4:11 ` Al Viro
2008-02-13  5:12 ` Alex Dubov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox