* [PATCH] 2.6.3 - fix for undefined mdelay in 3c505
@ 2004-02-25 14:11 Jakub Bogusz
2004-02-25 14:24 ` David Weinehall
2004-02-26 5:43 ` Jeff Garzik
0 siblings, 2 replies; 5+ messages in thread
From: Jakub Bogusz @ 2004-02-25 14:11 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 340 bytes --]
This patch fixes undefined mdelay() in 3c505 driver - at least on alpha
(maybe on other archs <linux/delay.h> is included by some other headers,
but on alpha it isn't) there was warning:
*** Warning: "mdelay" [drivers/net/3c505.ko] undefined!
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
PLD Team http://www.pld-linux.org/
[-- Attachment #2: linux-3c505-mdelay.patch --]
[-- Type: text/plain, Size: 397 bytes --]
fixes "*** Warning: "mdelay" [drivers/net/3c505.ko] undefined!"
--- linux-2.6.3/drivers/net/3c505.c.orig 2004-02-18 04:59:55.000000000 +0100
+++ linux-2.6.3/drivers/net/3c505.c 2004-02-25 14:54:15.000000000 +0100
@@ -106,6 +106,7 @@
#include <linux/ioport.h>
#include <linux/spinlock.h>
#include <linux/ethtool.h>
+#include <linux/delay.h>
#include <asm/uaccess.h>
#include <asm/bitops.h>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] 2.6.3 - fix for undefined mdelay in 3c505
2004-02-25 14:11 [PATCH] 2.6.3 - fix for undefined mdelay in 3c505 Jakub Bogusz
@ 2004-02-25 14:24 ` David Weinehall
2004-02-25 14:32 ` Jakub Bogusz
2004-02-26 5:43 ` Jeff Garzik
1 sibling, 1 reply; 5+ messages in thread
From: David Weinehall @ 2004-02-25 14:24 UTC (permalink / raw)
To: Jakub Bogusz; +Cc: linux-kernel
On Wed, Feb 25, 2004 at 03:11:01PM +0100, Jakub Bogusz wrote:
> This patch fixes undefined mdelay() in 3c505 driver - at least on alpha
> (maybe on other archs <linux/delay.h> is included by some other headers,
> but on alpha it isn't) there was warning:
>
> *** Warning: "mdelay" [drivers/net/3c505.ko] undefined!
You aren't seriously using a 3c505 on an Alpha, are you?!
Regards: David Weinehall
--
/) David Weinehall <tao@acc.umu.se> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] 2.6.3 - fix for undefined mdelay in 3c505
2004-02-25 14:24 ` David Weinehall
@ 2004-02-25 14:32 ` Jakub Bogusz
2004-02-25 14:36 ` David Weinehall
0 siblings, 1 reply; 5+ messages in thread
From: Jakub Bogusz @ 2004-02-25 14:32 UTC (permalink / raw)
To: David Weinehall, linux-kernel
On Wed, Feb 25, 2004 at 03:24:34PM +0100, David Weinehall wrote:
> On Wed, Feb 25, 2004 at 03:11:01PM +0100, Jakub Bogusz wrote:
> > This patch fixes undefined mdelay() in 3c505 driver - at least on alpha
> > (maybe on other archs <linux/delay.h> is included by some other headers,
> > but on alpha it isn't) there was warning:
> >
> > *** Warning: "mdelay" [drivers/net/3c505.ko] undefined!
>
> You aren't seriously using a 3c505 on an Alpha, are you?!
No, I'm not. Just trying to compile kernel with "most-module/most-yes"
config ;)
Kconfig allows to enable this, so it should build cleanly, right?
--
Jakub Bogusz http://cyber.cs.net.pl/~qboosh/
PLD Team http://www.pld-linux.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] 2.6.3 - fix for undefined mdelay in 3c505
2004-02-25 14:32 ` Jakub Bogusz
@ 2004-02-25 14:36 ` David Weinehall
0 siblings, 0 replies; 5+ messages in thread
From: David Weinehall @ 2004-02-25 14:36 UTC (permalink / raw)
To: Jakub Bogusz; +Cc: linux-kernel
On Wed, Feb 25, 2004 at 03:32:55PM +0100, Jakub Bogusz wrote:
> On Wed, Feb 25, 2004 at 03:24:34PM +0100, David Weinehall wrote:
> > On Wed, Feb 25, 2004 at 03:11:01PM +0100, Jakub Bogusz wrote:
> > > This patch fixes undefined mdelay() in 3c505 driver - at least on alpha
> > > (maybe on other archs <linux/delay.h> is included by some other headers,
> > > but on alpha it isn't) there was warning:
> > >
> > > *** Warning: "mdelay" [drivers/net/3c505.ko] undefined!
> >
> > You aren't seriously using a 3c505 on an Alpha, are you?!
>
> No, I'm not. Just trying to compile kernel with "most-module/most-yes"
> config ;)
Good, got a little worried there...
> Kconfig allows to enable this, so it should build cleanly, right?
Oh, indeed, and killing warnings is rarely a bad thing (it can sometimes
be harmful though, if it hides more serious problems. That's not the
case here, however).
Regards: David Weinehall
--
/) David Weinehall <tao@acc.umu.se> /) Northern lights wander (\
// Maintainer of the v2.0 kernel // Dance across the winter sky //
\) http://www.acc.umu.se/~tao/ (/ Full colour fire (/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] 2.6.3 - fix for undefined mdelay in 3c505
2004-02-25 14:11 [PATCH] 2.6.3 - fix for undefined mdelay in 3c505 Jakub Bogusz
2004-02-25 14:24 ` David Weinehall
@ 2004-02-26 5:43 ` Jeff Garzik
1 sibling, 0 replies; 5+ messages in thread
From: Jeff Garzik @ 2004-02-26 5:43 UTC (permalink / raw)
To: Jakub Bogusz; +Cc: linux-kernel
applied
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-02-26 5:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-25 14:11 [PATCH] 2.6.3 - fix for undefined mdelay in 3c505 Jakub Bogusz
2004-02-25 14:24 ` David Weinehall
2004-02-25 14:32 ` Jakub Bogusz
2004-02-25 14:36 ` David Weinehall
2004-02-26 5:43 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox