From: Russell King <rmk+lkml@arm.linux.org.uk>
To: Pierre Ossman <drzeus-list@drzeus.cx>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
sdhci-devel@list.drzeus.cx, linux-kernel@vger.kernel.org
Subject: Re: [Sdhci-devel] PATCH: Fix 32bitism in SDHCI
Date: Thu, 15 Jun 2006 18:04:03 +0100 [thread overview]
Message-ID: <20060615170403.GB8694@flint.arm.linux.org.uk> (raw)
In-Reply-To: <449191EE.2090309@drzeus.cx>
On Thu, Jun 15, 2006 at 06:59:26PM +0200, Pierre Ossman wrote:
> Alan Cox wrote:
> > The data field is ulong, pointers fit in ulongs. Casting them to int is
> > bad for 64bit systems.
>
> It's in my (rather large) queue. I'm just waiting for a merge window. :)
I didn't see the original message, but I suspect this is about the
following, which you can see is already queued up for Linus.
# Base git commit: 0e838b72d54ed189033939258a961f2a0cd59647
# (Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev)
#
# Author: Andrew Morton (Mon Jun 12 22:10:22 BST 2006)
# Committer: Russell King (Mon Jun 12 22:10:22 BST 2006)
#
# [MMC] sdhci truncated pointer fix
#
# On 64-bit machines, we just lost the uppermost 32 bits.
#
# Signed-off-by: Andrew Morton
# Signed-off-by: Russell King
#
# drivers/mmc/sdhci.c | 2 +-
# 1 files changed, 1 insertions(+), 1 deletions(-)
#
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
--- a/drivers/mmc/sdhci.c
+++ b/drivers/mmc/sdhci.c
@@ -1073,7 +1073,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, (int)host);
+ setup_timer(&host->timer, sdhci_timeout_timer, (long)host);
ret = request_irq(host->irq, sdhci_irq, SA_SHIRQ,
host->slot_descr, host);
--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
next prev parent reply other threads:[~2006-06-15 17:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060615170403.GB8694@flint.arm.linux.org.uk \
--to=rmk+lkml@arm.linux.org.uk \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=drzeus-list@drzeus.cx \
--cc=linux-kernel@vger.kernel.org \
--cc=sdhci-devel@list.drzeus.cx \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox