From: "David S. Miller" <davem@redhat.com>
To: rsreelat@in.ibm.com
Cc: linux-kernel@vger.kernel.org
Subject: Re: patch for IA64: fix do_sys32_msgrcv bad address error.
Date: Thu, 05 Sep 2002 07:26:11 -0700 (PDT) [thread overview]
Message-ID: <20020905.072611.56130710.davem@redhat.com> (raw)
In-Reply-To: <OFFB350C4A.BB78D4E6-ON65256C2B.004CF605@in.ibm.com>
From: "R Sreelatha" <rsreelat@in.ibm.com>
Date: Thu, 5 Sep 2002 19:46:40 +0530
In sys_ia32.c file, in the do_sys32_msgrcv() function call, the value of
ipck.msgp is interpreted as a 64 bit address, whereas it is a 32 bit
address.
Hence, do_sys32_msgrcv() finally returns EFAULT(bad address) error.
The patch below takes care of this by type casting ipck.msgp to type u32.
The patch is created for 2.5.32 version of the kernel.
It's still broken.
Fix this instead by declaring ipc_kludge with the proper
32-bit types. This is why the identical code works on
sparc64 for sparc32 emulation. :-)
next prev parent reply other threads:[~2002-09-05 14:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-05 14:16 patch for IA64: fix do_sys32_msgrcv bad address error R Sreelatha
2002-09-05 14:26 ` David S. Miller [this message]
2002-09-05 16:51 ` David Mosberger
2002-09-05 16:43 ` [Linux-ia64] " Don Dugger
2002-09-06 3:19 ` David S. Miller
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=20020905.072611.56130710.davem@redhat.com \
--to=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rsreelat@in.ibm.com \
/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