From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Pierrick Hascoet <pierrick.hascoet@hydromel.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] I2O support on alpha.
Date: 03 Jun 2002 16:29:06 +0100 [thread overview]
Message-ID: <1023118146.3439.71.camel@irongate.swansea.linux.org.uk> (raw)
In-Reply-To: <Pine.LNX.4.44.0206031049010.11680-200000@host.alias.fr>
On Mon, 2002-06-03 at 10:23, Pierrick Hascoet wrote:
> msg[0] = (FIVE_WORD_MSG_SIZE|SGL_OFFSET_0);
> msg[1] = I2O_CMD_BLOCK_CFLUSH<<24|HOST_TID<<12|dev->tid;
> msg[2] = i2ob_context|0x40000000;
> - msg[3] = (u32)query_done;
> + msg[3] = (unsigned long)query_done;
query_done is a 64bit value, msg[3] is 32bit. On your box it happens
that the query_done value fits into 32 bits. Really the pointer needs
replacing with something saner. I have some ideas. One would be to add
val = i2o_query_alloc(address);
i2o_query_done(val);
i2o_query_free(val);
functionality that tracked the pointers in a seperate array
Similar problems in the fp->private_data casting too. That wants pushing
into an array of some sort. I'll apply the header changes and other
fixes and think about the harder ones
prev parent reply other threads:[~2002-06-03 14:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-03 9:23 Pierrick Hascoet
2002-06-03 15:29 ` Alan Cox [this message]
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=1023118146.3439.71.camel@irongate.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=linux-kernel@vger.kernel.org \
--cc=pierrick.hascoet@hydromel.net \
/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
all inboxes | Powered by JetHome®