mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: Alan Cox <alan@redhat.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.19-pre5-ac2: 8253xutl.c compile error
Date: Fri, 05 Apr 2002 09:21:09 +1000	[thread overview]
Message-ID: <3CACDFE5.E2FA11AE@eyal.emu.id.au> (raw)
In-Reply-To: <200204042017.g34KHqv11609@devserv.devel.redhat.com>

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

Alan Cox wrote:
> Linux 2.4.19pre5-ac2
> o       SAB8253 series wan drivers                      (Joachim Martillo)

gcc -D__KERNEL__ -I/data2/usr/local/src/linux-2.4-pre-ac/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer
-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2
-march=i686 -malign-functions=4  -DMODULE -DMODVERSIONS -include
/data2/usr/local/src/linux-2.4-pre-ac/include/linux/modversions.h -I.
-DKBUILD_BASENAME=8253xutl  -c -o 8253xutl.o 8253xutl.c
8253xutl.c: In function `sab8253x_wait_until_sent':
8253xutl.c:1347: structure has no member named `counter'
make[4]: *** [8253xutl.o] Error 1
make[4]: Leaving directory
`/data2/usr/local/src/linux-2.4-pre-ac/drivers/net/wan/8253x'

I simply deleted the offending line since I do not use this module, and
it looks like the right thing too (monkey sees monkey does).

--
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>

[-- Attachment #2: 2.4.19-pre5-ac2-8253.patch --]
[-- Type: text/plain, Size: 365 bytes --]

--- linux/drivers/net/wan/8253x/8253xutl.c.orig	Fri Apr  5 08:52:00 2002
+++ linux/drivers/net/wan/8253x/8253xutl.c	Fri Apr  5 08:55:47 2002
@@ -1344,7 +1344,6 @@
 	while ((Sab8253xCountTransmit(port) > 0) || !port->all_sent) 
 	{
 		current->state = TASK_INTERRUPTIBLE;
-		current->counter = 0;
 		schedule_timeout(char_time);
 		if (signal_pending(current))
 		{

      parent reply	other threads:[~2002-04-04 23:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-04 20:17 Linux 2.4.19-pre5-ac2 Alan Cox
2002-04-04 20:20 ` arjan
2002-04-04 21:00   ` Alan Cox
2002-04-04 22:30 ` Andrew Morton
2002-04-04 23:01   ` Alan Cox
2002-04-04 23:21 ` Eyal Lebedinsky [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=3CACDFE5.E2FA11AE@eyal.emu.id.au \
    --to=eyal@eyal.emu.id.au \
    --cc=alan@redhat.com \
    --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 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®