mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bill Nottingham <notting@redhat.com>
To: Todd <todd@unm.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ia64 gcc compile prob
Date: Thu, 18 Oct 2001 14:40:43 -0400	[thread overview]
Message-ID: <20011018144042.A2099@apone.devel.redhat.com> (raw)
In-Reply-To: <Pine.A41.4.33.0110181103240.31982-100000@aix07.unm.edu>
In-Reply-To: <Pine.A41.4.33.0110181103240.31982-100000@aix07.unm.edu>; from todd@unm.edu on Thu, Oct 18, 2001 at 11:05:38AM -0600

[-- Attachment #1: Type: text/plain, Size: 282 bytes --]

Todd (todd@unm.edu) said: 
> scsi_ioctl.c: In function `scsi_ioctl_send_command':
> scsi_ioctl.c:366: Internal compiler error in rws_access_regno, at
> config/ia64/ia64.c:3689

It's a compiler bug; fixed in a later release (2.96-9x, 3.0).
Attached is a hack workaround patch.

Bill

[-- Attachment #2: linux-2.4.3-ia64-compile.patch --]
[-- Type: text/plain, Size: 616 bytes --]

--- linux/drivers/scsi/scsi_ioctl.c.foo	Tue May 29 12:59:24 2001
+++ linux/drivers/scsi/scsi_ioctl.c	Tue May 29 12:58:01 2001
@@ -200,6 +200,7 @@
 	unsigned int needed, buf_needed;
 	int timeout, retries, result;
 	int data_direction;
+	int foo;
 
 	if (!sic)
 		return -EINVAL;
@@ -209,10 +210,12 @@
 	if (verify_area(VERIFY_READ, sic, sizeof(Scsi_Ioctl_Command)))
 		return -EFAULT;
 
-	if(__get_user(inlen, &sic->inlen))
+	foo = __get_user(inlen, &sic->inlen);
+	if (foo)
 		return -EFAULT;
 		
-	if(__get_user(outlen, &sic->outlen))
+	foo = __get_user(outlen, &sic->outlen);
+	if (foo)
 		return -EFAULT;
 
 	/*

      reply	other threads:[~2001-10-18 18:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-18 17:05 Todd
2001-10-18 18:40 ` Bill Nottingham [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=20011018144042.A2099@apone.devel.redhat.com \
    --to=notting@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=todd@unm.edu \
    /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®