Skip to contentSkip to conversation

passing pointer to setup_timer() should be via unsigned long

PATCH New Al Viro 1 participant 1 message Oct 10, 2006 MMC, SD and SDIO

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 passing pointer to setup_timer() should be via unsigned long

---
 drivers/mmc/sdhci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/mmc/sdhci.c +1 -1
index 6d02434..9a7d39b 100644
@@ -1329,7 +1329,7 @@ static int __devinit sdhci_probe_slot(st
 	tasklet_init(&host->finish_tasklet,
 		sdhci_tasklet_finish, (unsigned long)host);
 
-	setup_timer(&host->timer, sdhci_timeout_timer, (long)host);
+	setup_timer(&host->timer, sdhci_timeout_timer, (unsigned long)host);
 
 	ret = request_irq(host->irq, sdhci_irq, IRQF_SHARED,
 		host->slot_descr, host);
Signature · 1 line
1.4.2.GIT