Re: 2.4.27-pre2: tg3: there's no WARN_ON in 2.4

From: Jeff Garzik
Date: Tue May 04 2004 - 15:59:44 EST


On Tue, May 04, 2004 at 10:53:11PM +0200, Marc-Christian Petersen wrote:
> On Tuesday 04 May 2004 22:46, Adrian Bunk wrote:
>
> Hi Adrian,
>
> > drivers/net/net.o(.text+0x60293): In function `tg3_get_strings':
> > : undefined reference to `WARN_ON'
> > make: *** [vmlinux] Error 1
> > There's no WARN_ON in 2.4.
>
> yep. Either we backport WARN_ON ;) or simply do the attached.

I would rather add the simple patch to 2.4.x core, since tg3 isn't the
only driver that continues to be heavily used in 2.4, and thus will
continue to be actively maintained for a while...

Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/