public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* PATCH: Fix 32bitism in SDHCI
@ 2006-06-15 15:33 Alan Cox
  2006-06-15 16:59 ` [Sdhci-devel] " Pierre Ossman
  0 siblings, 1 reply; 11+ messages in thread
From: Alan Cox @ 2006-06-15 15:33 UTC (permalink / raw)
  To: sdhci-devel, linux-kernel

The data field is ulong, pointers fit in ulongs. Casting them to int is
bad for 64bit systems.

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.vanilla-2.6.17-rc6/drivers/mmc/sdhci.c linux-2.6.17-rc6/drivers/mmc/sdhci.c
--- linux.vanilla-2.6.17-rc6/drivers/mmc/sdhci.c	2006-06-06 14:01:11.000000000 +0100
+++ linux-2.6.17-rc6/drivers/mmc/sdhci.c	2006-06-15 11:59:57.580510280 +0100
@@ -1073,7 +1073,7 @@
 	tasklet_init(&host->finish_tasklet,
 		sdhci_tasklet_finish, (unsigned long)host);
 
-	setup_timer(&host->timer, sdhci_timeout_timer, (int)host);
+	setup_timer(&host->timer, sdhci_timeout_timer, (unsigned long)host);
 
 	ret = request_irq(host->irq, sdhci_irq, SA_SHIRQ,
 		host->slot_descr, host);


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

end of thread, other threads:[~2006-06-15 21:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-15 15:33 PATCH: Fix 32bitism in SDHCI Alan Cox
2006-06-15 16:59 ` [Sdhci-devel] " Pierre Ossman
2006-06-15 17:04   ` Russell King
2006-06-15 17:07     ` Pierre Ossman
2006-06-15 17:37   ` Alan Cox
2006-06-15 18:35     ` Mark Lord
2006-06-15 18:50     ` Pierre Ossman
2006-06-15 21:51       ` Alan Cox
2006-06-15 18:52     ` Russell King
2006-06-15 18:59   ` Daniel Drake
2006-06-15 19:05     ` Pierre Ossman

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