All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ali Akcaagac <ali.akcaagac@stud.fh-wilhelmshaven.de>
To: linux-kernel@vger.kernel.org
Subject: Re: PATCH: gcc3.0.2 workaround for 8139too
Date: 25 Nov 2001 13:25:24 +0100	[thread overview]
Message-ID: <1006691124.320.0.camel@ulixys> (raw)
In-Reply-To: <1006394515.14661.0.camel@ulixys>
In-Reply-To: <1006394515.14661.0.camel@ulixys>

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

On Thu, 2001-11-22 at 03:01, Ali Akcaagac wrote:
> so please allow me to post this 'temporarely workaround' here so other
> people can profit of it until things with the gcc3.0.2 compiler are
> solved.

hello,

i've got quite a lot of response for this. oki, the problem is still
there and still no solution. somehow i was forced to do minor changes to
the previous *workaround*. at least to save myself from beeing bombed
again :) and save whoever uses this stuff, from getting complications,
please allow me to post this one.

reason: probably gcc3.0.2 bug
kernel: 2.4.10 -> X
result: solves some strange compile failure issues.

-- 
Name....: Ali Akcaagac
Status..: Student Of Computer & Economic Science
E-Mail..: mailto:ali.akcaagac@stud.fh-wilhelmshaven.de
WWW.....: http://www.fh-wilhelmshaven.de/~akcaagaa

[-- Attachment #2: 8139too.patch --]
[-- Type: text/x-patch, Size: 608 bytes --]

--- linux/drivers/net/8139too.c.bak	Tue Nov 20 22:39:30 2001
+++ linux/drivers/net/8139too.c	Sun Nov 25 11:56:49 2001
@@ -2393,9 +2393,9 @@
 	case ETHTOOL_GDRVINFO:
 		{
 			struct ethtool_drvinfo info = { ETHTOOL_GDRVINFO };
-			strcpy (info.driver, DRV_NAME);
-			strcpy (info.version, DRV_VERSION);
-			strcpy (info.bus_info, np->pci_dev->slot_name);
+			sprintf (info.driver, "%s", DRV_NAME);
+			sprintf (info.version, "%s", DRV_VERSION);
+			sprintf (info.bus_info, "%s", np->pci_dev->slot_name);
 			if (copy_to_user (useraddr, &info, sizeof (info)))
 				return -EFAULT;
 			return 0;

  reply	other threads:[~2001-11-25 12:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-22  2:01 PATCH: gcc3.0.2 workaround for 8139too Ali Akcaagac
2001-11-25 12:25 ` Ali Akcaagac [this message]
2001-11-25 15:37   ` Rene Blokland
2001-11-25 15:57     ` Ali Akcaagac
2001-11-26  8:58     ` Luben Tuikov
  -- strict thread matches above, loose matches on Subject: below --
2001-11-26  8:11 Andris Pavenis
2001-11-26 14:45 Luben Tuikov
2001-11-26 14:56 ` Ali Akcaagac

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=1006691124.320.0.camel@ulixys \
    --to=ali.akcaagac@stud.fh-wilhelmshaven.de \
    --cc=linux-kernel@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.